how to invoke the web application through script in qtp
Answers were Sorted based on User's Feedback
Answer / raj
syntax: systemutil.Run "Browser", "ur web url"
systemutil.Run "iexplore.exe", "www.yahoo.com"
| Is This Answer Correct ? | 52 Yes | 7 No |
Answer / sreekanth
Initially in check the web addin in add-in manager window &
in Record & Run Settings,choose Web tab.
Then...give the following script & see...
systemutil.Run "your appl url"
ex:
systemutil.Run "yahoomail.com"
| Is This Answer Correct ? | 25 Yes | 12 No |
Answer / widewaythink
If you are using Windows 7, Use this command to open the
application through QTP:
Systemutil.Run "C:\Program Files\xx....\flight3a.exe"
You can record and run the application without any crash error.
| Is This Answer Correct ? | 8 Yes | 3 No |
Answer / menaka n
Invokeapplication"C:\Program Files\Internet
Explorer\IEXPLORE.EXE"
| Is This Answer Correct ? | 12 Yes | 11 No |
Answer / sandipgami84
Hi..
u can call below function, and Pass your URL.
Public Function OpenInternetExplorer(URL)
Dim IE
Set IE = CreateObject("InternetExplorer.Application")
IE.Visible = True
If URL <> "" Then
IE.Navigate Trim(URL)
Else
IE.Navigate "about:blank"
ExitTest
End If
Environment.Value("HWND") = IE.HWND
End Function
| Is This Answer Correct ? | 7 Yes | 11 No |
Answer / supriya
Use the Object reference Model of qtp
and you will find many ways there
| Is This Answer Correct ? | 3 Yes | 12 No |
Answer / sathi
do you write the script in web application go to qtp choose
on web page example yahoo or gmail and go to record ->click
on insert menu choose xml testing with page or link->chose
the hand icon on any menu->stop the record and ->run
web application scripting in qtp
SYNTAX:
BROWSER("BROWSER NAME").PAGE("PAGE
NAME").WEBXML("SETTINGS").CHECK CHECKPOINT("SETTINGS")
| Is This Answer Correct ? | 5 Yes | 16 No |
.qfl extension for which file? where vl use it
I have written a code to fetch values fro access db and place in the fields. Iam using GetROProperty to fetch runtime values. Now i want to add runtime values to the access db in field v3. please help me. Its not writting in the db. Option explicit Dim con,rs,db,c Set con=createobject("adodb.connection") Set rs=createobject("adodb.recordset") con.Open "Driver={Microsoft Access Driver (*.mdb)};dbq=D:\Sales.mdb" rs.open "select * from tax",con Do while not rs.eof Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("incost").Set rs.fields("v1") Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("intax").Set rs.fields("v2") c=Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("outtax").GetROProperty("value") rs.MoveNext print c Loop Do while not rs.EOF rs.EditMode rs.Fields("v3").Value="3" rs.Update rs.MoveNext Loop Set rs=nothing Set con=nothing
PLS REAL TIMERS WRITE THE ANS FOR THIS? WHICH SCRIPT IS USED IN REAL TIME NOW A DAYS 1)SHARED REPOSITORY BASED SCRIPT 2)DESCRIPTIVE PROGRAMMING BASED SCRIPT?
what is Unicode Compatibility ? HOw does this makes a diffrence from Winrunner.?
What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?
hi guys we r working in office...we write some scripts..suddenly we have a work(5min only) in out side..what will do now,,,used to system shut down or log off or lock or sleep mode,switch use or hibernate?
When I parameterize a script then for each iteration script is executed from begining to end. If I want to execute some middle steps multiple times using Parameterization (avoiding begining and end steps), what is the solution of this (e.g. total steps are 1 2 3 4 5 and i want 2 3 4 only(not 1 nd 5)
Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.
Which object model ur used in ur project
How can the expected image for a bitmap checkpoint be recaptured in QTP
How to make arguments optional in a function?
What is the limitation to XML Checkpoints?