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 |
Friends please let me know how id following possible in QTP: Can I apply conditional loop on a bitmap/image or any other checkpoint. Like if checkpoint passes then if or Else
Hi,All How to create a link in excel sheet using qtp
What r the different filters in defect in quality center
Hai anyone please "Explain about Framework in QTP?"
Explain types of exception handling and script for that?
WHAT IS ETL TESTING.......
What is difference between the For..Next and While..Wend statements?
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...!!!
Take a situation when you are working with QTP, suddenly system has crashed.so you again start the system. My questyion is how can QTP directly opened when the system desktop appears.
what is ODC and GDC?
I want to export the datasheet to excel.Instead of total file it exports only data without headers.How to solve this problem?
How can we count the no of rows are available in a data table ?