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 |
Where to use function or action?
How can i Save the snapshots in a specified folders using Scripting in QTP?
HI, pls help me on this, iam not able to capture getcelldata value in javatable... msgbox javawindow("").javatable("").getcelldata(3,3) but it diaplays empty...
in real time when we are creating the script by default it is going to save in action object repository or not any way my question is in one of my interviewer said that in real time the default object repository is action object repository and by using quick test plus they are going to merge is it correct i said that by selecting the object repository as shared one in selecting the test>>settings>>resources but she is not convinced what is the correct one
In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?
when I was doing the web testing with QTP using with standard checkpoint the Object selection -checkpoint properties dialog box not displaying pages and links hierarchical order. Could you please tell me. thanks
How u call functions in QTP Function to calculate the length of characters in a word -
Can you tell me QTP is support for GIS(Geography Information System) Based Software.
Is it possible to change the name of a test object. I mean when we are recording the script for an object (for Ex: Username is a text field which has value "Babu",i am recording that). Then the Name of the object will become "Babu" in object repository. If i want to change "babu" as "xxxxx" .. is it possible to do? Pls help me in this .. if you didn't understand the question, pls let me know.
How do know the number of browsers opened?
what r the executing modes in QTP
Why we are selecting QTP for testing ?