How to check the URL using Automation tool QTP

Answer Posted / mahesh

hi..dear manisha

For check URL u can go through this following way.

dim Objhello = Brower("name:=XYZ").page
("title:=abc").getroproperty("url")
msgbox Objhello

for more queary u can call me on this nuber..

9986645937.

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the main differences of qtp and win runner?

587


Can we use index on view?

1593


Diff b/w Health care domain and Banking Domain?

4209


Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.

1611


In qtp, explain what is qrs file?

577






How can you write the scripts that operate on different objects depending on run-time information?

2105


What is Distributed testing? How does UFT support it?

597


How many test scenarios you have automated? How many time it will take to execute 30-40 scenarios? What SDLC model you are following? How often you will execute your test scripts? Because of some changes, your test scripts failed? When you will update your test scripts? How much time it will take to update? Do you know how to connect database? Do you know the direct method to count no. of records (or) rows present in record set once query is executed? How will you create the connection string? How did you resolve conflicts present in Object Repository? How good you are in VB? How will you work on Excel Application? How will you select Excel sheet? If you want to select 10 sheets, will you create 10 separate objects? Given string is “abcd”. What are the methods you will use to display “dcba”? Drives script – explain the frameworks? How you are updating results for each test? What is start up, configuration, navigation scripts? If you are not able to understand the application (some module), who will teach you? What test cases to be automated? When to be automated? What is the testing process you are following? What life cycle you are following? When you will use Descriptive Programming? Do you have the permission to add objects into shared object repository? (OR) someone will maintain SOR? Do you know how to add objects into shared object repository? How many test cases you have automated? How much time will it take to execute? What is complex in automation? When you feel automation is complex? Tell me one scenario, the complex functionality you have automated in your project? Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet. Rate yourself in SQL? Display the employee name who is getting maximum salary? sal ID Salary name 001 100 002 500 003 300 ID 001 002 003 Ename A B C Have you written any test cases while you are in Automation? Manual Testing also will you do or you will work only in automation?

2215


What are the methods of the TextStream object that are used for reading from a text file?

1685


how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods

1375


What are the benefits of qtp?

548


What will be happen if i load object repository at run time, but it has already associated.

1251


• What type of testing questions will be asked for 2+ yrs exp people in interview?

1243


What are the challenges u faced in testing with crm domain? How u overcome with?

1477


What are the different recording modes and how do they work?

603