how to check URL using QTP? write vb script with descriptive programm only?
Answer Posted / manjunathareddy
Dim oBrowser
Set oBrowser=Description.Create()
oBrowser("micClass").Value="Browser"
Msgbox Browser(oBrowser).GetROProperty("url")
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Difference between action & Reusable action?
Explain the concept of how quicktest professional (qtp) identifies object?
How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks
How do you open adobe acrobat file in QTP and do some testing on that file ?
What is the Difference between test object and run time object?
How to write business scripts using object repository with different scenarios
Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project
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 is the Command used to start the QTP
How do Parameterization and Data-Driving relate to each other in QTP?
What is the syntax for how to call one script from another?
What is text check point and text area check point?
Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks
What are the different types of recording modes in qtp? Which will be used when?
Explain how you can replace string in qtp?