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 |
How you can write contexts to text file in qtp?
What is BPT?
Did you face the problem, changing the properties of an object in Run Time?
How do you find out whether the string is Numeric or Alpha numenric.Suppose..'QTP is an automation testing tool 12345' How should I know it is alphanumeric.Can any one please write the code for this
what is main difference between QTP 8.2 AND QTP 9.0/9.2 HOME PAGE?i mean what are extra thing in QTP 9.0 than in QTP 8.2?
For an application we automated QTP scripts. At the same time new requirement comes for a new module for the same application and its already developed. So how we automated now this new module with the old application(using old QTP script).
describe common problems of test automation?
tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?
why was automation used in the project?
How to handle "Java Runtime error" popup window in the web application ? Sometimes the application throws the error repeatedly... Is there any browser setting available to disable the error ?
actually how many hours per one day we will work on automation (qtp) in real time
difference between GetRoProperry and GetToProperty.and where we've to use exactly those properties