what properties do use to identify a browser and page while
using descriptive programming?

Answers were Sorted based on User's Feedback



what properties do use to identify a browser and page while using descriptive programming?..

Answer / kiran

QTP identifies the browser by name and page by tilte. We
can use index to be on safe side.
Browser("name:=Welcome To.*","index:=0").Page
("title:=Welcome To.*","index:=0").exist

Is This Answer Correct ?    2 Yes 0 No

what properties do use to identify a browser and page while using descriptive programming?..

Answer / vengi

Qtp identifies a browser and page by name and title
properties
For EX:
Window("Name:WelCome To Gmail","Title:WelCome To
gmail").Page("Name:WelCome To Gmail","Title:WelCome To
gmail").Exist

Is This Answer Correct ?    0 Yes 0 No

what properties do use to identify a browser and page while using descriptive programming?..

Answer / srini

micclass property

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

What is the use of virtual objects?

1 Answers  


we have 10 more actions in our test and we are using exit action command to come out from the action if any error s occured.In action 1 if any error occurs control is moving to second action but if we get error in second action exitaction is throwing general run error. Please give a idea to overcome .

1 Answers   TCS,


I want to capture data(using keyword) from msdos application using QTP?... Below is little work i could do on it... /* Set app=CreateObject("Wscript.shell") SystemUtil.run ("C:\Users\Agent\Desktop\pumpsim\PUMPSIM.EXE") Window(“PUMPSIM.EXE”).Activate wait(3) app.sendkeys "N" */ Thanks in advance...!!!

0 Answers  


How can the functions inside DLL be called from QTP? i mean How can i use those functions(Inside DLL) in QTP

1 Answers  


Hello Everyone, Please provide me the practical example of business component concept of QTP.Like how to create business component,how to connect the quality center etc.... Thanks in advance, Gaytri

0 Answers  






I want to open a Google page without recording a test and i do not want to use system.Util.run command as well how do i do this?

11 Answers   IBM,


how you test broken link using the automated tool QTP ?

4 Answers   Oracle,


How to make "TEST Batches" in manual testing . How it is possible plz explin in detail?

1 Answers  


What is vulnerability?

1 Answers   CTS,


a title of first page is "LKO- microsoft internet explorer", of the second page is "PPM- microsoft internet explorer" , of Third page is "TTS- microsoft internet explorer" and same changing title on the fourth page. How can we use regular expression for this feature what should we do on script part on and Object repository part so that we can get successful run result. Kindly explain the steps script.

2 Answers  


in my application,validation message has in japanise language.how to validate this message is appears properly or not

0 Answers  


Is it a smart choice to use QTP for backend testing?

1 Answers   CTS,


Categories