Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Difference between action & Reusable action?

1078


Explain the concept of how quicktest professional (qtp) identifies object?

1006


How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks

2023


How do you open adobe acrobat file in QTP and do some testing on that file ?

1059


What is the Difference between test object and run time object?

1213


How to write business scripts using object repository with different scenarios

1918


Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project

2090


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

1934


What is the Command used to start the QTP

1959


How do Parameterization and Data-Driving relate to each other in QTP?

1062


What is the syntax for how to call one script from another?

1049


What is text check point and text area check point?

1106


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

1873


What are the different types of recording modes in qtp? Which will be used when?

1062


Explain how you can replace string in qtp?

1082