how to invoke the web application through script in qtp
Answers were Sorted based on User's Feedback
Answer / neeraj chauhan
Hi this is neeraj, and i went through your query and the
solution is:
Systemutil.Run("iexplore")
Set vBrowser=Browser("Creationtime:=0")
vBrowser.navigate("Url of your application for example:
"gmail.com" ")
Description:
this is descriptive programming code, this code first will
open the "Internet Explorer" and then will put your given
"url" to the browser automatically.
Is This Answer Correct ? | 18 Yes | 2 No |
Answer / venkat reddy
we have 2 ways in QTP to open a web application through the
script,
1)
systemutil.run("URL")
or
systemutil.run "iexplore.exe","URL"
2)
systemutil.run("iexplore")
set vbrowser=createobject("creationtome:=0")
vbrowser.navigate"URL"
Is This Answer Correct ? | 12 Yes | 2 No |
Answer / niranjan
please use the following code"
url= "url name"
Set IE=CreateObject("InternetExplorer.Application")
IE.Visible = true
IE.Navigate url
Is This Answer Correct ? | 8 Yes | 1 No |
Answer / satyanarayana
Hi we can invoke the application in the following ways
1).systemutil.run"path of the application"
2).Invokeapplication"path of the application"
Is This Answer Correct ? | 11 Yes | 7 No |
Answer / kapil bande
above methods are correct one more method is there we can
create IEexplore object and pass the URL.
set Browser =createobject("InternetExplorer")
Browser.visible =True
Is This Answer Correct ? | 4 Yes | 3 No |
Answer / soni
The simple way is to use systemutil.Run ("Application path")
or go to Record Settings and in Web tab give the path.
Is This Answer Correct ? | 1 Yes | 4 No |
Answer / shilpa reddy
Syntax:
system.util.run("path of the application")
this invokes any type of application.
Is This Answer Correct ? | 8 Yes | 12 No |
I want to know can we integrate visual source safe tool with QTP and QC for our version controlling process? WE know QTP and QC 10.0 version is having the version control inbuilt in it but I want to know the merits and demerits of the inbuilt version control tool and the visual source safe tool using QTP and QC.
Can any body tell me what is the method to connect the remote desk top throw QTP 9.2 version?
w is time parameter
what is key word driven frame work ? why it is called like that ? what is the diference between keyword driven and data driven frame work ?
How to database testing by manualy?in my db having 100 records when i am retriving the data from db it shows in frent end 30 records how to find bug using QTP?plz Exp realtimers (Chandana)
I have to do testing for XML file using QTP. 1. I was given a sample XML, I had to edit that with my actual data and had to make a new XML-- this part is completed, I did that. 2. Now I have to copy the exact contents of that XML file and have to paste it in a web application as a request message for web appliaction processing, using QTP. So I am unable to copy and paste it in web application, please help me out.
I want to capture data(using keyword) from msdos application using QTP?... Below is little work i could do on it... /* Set app=CreateObject("Wscript.shell") SystemUtil.run ("C:\Users\Agent\Desktop\pumpsim\PUMPSIM.EXE") Window(“PUMPSIM.EXE”).Activate wait(3) app.sendkeys "N" */ Thanks in advance...!!!
How to export QTP results to an ".xls" file?
How open an excel sheet in QTP(not a run time )?
What are the Mandatory Properties of WebTable Object and Link Object in Web testing using QTP
In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail
What is the limitation to XML Checkpoints?