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


Please Help Members By Posting Answers For Below Questions

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

1435


What does it mean when a check point is in red color? What do you do?

570


How does qtp recognize objects in aut?

594


How to use the object spy in quicktest professional 8.0 version?

548


What is checkpoints for qtp?

536






hi nani my doubt is how does qtp process metrix related to software process.

1555


Have you faced any problems with object repository?

592


can the activities of test case design be automated?

1456


hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)

1406


How will internal and external links be validated and updated? how often?

643


What is quicktest professional window?

565


Sql questions to find second max salary and how to use joins

967


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

1767


what kind of frame work you used in your last project?

1823


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

1761