how to invoke the web application through script in qtp
Answer Posted / 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 |
Post New Answer View All Answers
What is Distributed testing? How does UFT support it?
what are the utilities and drivers
Can we create user defined functions in qtp?
What are the properties you would use for identifying a browser and page when using descriptive programming?
What is system testing and what are the different types of tests you perform in system testing?
Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance
Is it possible to call from one action to another action in qtp?
How do you synchronization point through DP?
In QTP can we feed the out of one browser(internet explorer) as an input to the another browser(mozilla firefox)? If yes explain how to do it with an example.
diff between qtp versions from 8.5
give me an example where u used good judgement and logic in solving a problem
While spliting an action in QTP 10.0 getting an error : "This Line is a part of Script Block.You cannot split the action on this line." how to re-solve this and split the script into actions?
Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)
Write a script to verify font style and color of a windows object using descriptive programming
How many types of actions are there in quicktest professional?