how to invoke the web application through script in qtp
Answer Posted / 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 |
Post New Answer View All Answers
Hi All, issue is related to handling pop up script generated in IE, and run on mozilla. In App Under Test, when we get the alert pop ups, we just click ok button. if we need to run the same code on mozilla it will not identify . so we will check browser if browser(*).dialog(IE object).exits browser(*).dialog(IE object).winbutton(OK).click else 'by default mozilla browser(*).dialog(mozilla object).page(*).webbutton(OK).CLICK END IF But my qustion is. Do we write the above piece of code where ever we get such kind of pop ups from the application like alert pop up, confirmation pop up.... OR do we have any other alternative way to do this by using any functions in Recovery Scebarios? If Any of u know idea please do help me in this regard. or send answer to kravimb@gmail.com
What does it mean when a check point is in red color? What do you do?
How does qtp recognize objects in aut?
How to use the object spy in quicktest professional 8.0 version?
What is checkpoints for qtp?
hi nani my doubt is how does qtp process metrix related to software process.
Have you faced any problems with object repository?
can the activities of test case design be automated?
hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)
How will internal and external links be validated and updated? how often?
What is quicktest professional window?
Sql questions to find second max salary and how to use joins
Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations
what kind of frame work you used in your last project?
hi to all, i need a code.. in flight application 1.i need to login first then i need to insert 3 new orders... 2.i have to log out 3.i have to login again with different user 4.need to insert 2 new orders 5.then need to log out 6.then again login with different user 7.3 new orders create and log out 8.but we hv to do this using data table and actions please help me