QTP Interview Questions
Questions Answers Views Company eMail

Which functionalities of QTP used in banking project? pls any say answer?

1414

QTP Query: Hello to all, I'm getting an error (as below) when I perform descriptive programming on any Web application. "The test run cannot continue due to an unrecoverable error.The "myvar_0" object was not found in the Object Repository. Check the Object Repository to confirm that the object exists or to find the correct name for the object " But I do not have any problem when I perform the same descriptive programming on a Windows application such as Sample Application - Flight. Previosly , I had prepared a lot of scripts - both via creating the properties collection object and by giving the description in string arguments and implemented them on Flight and they're working perfectly fine.I'm using QTP Version 9.2 The sample script I have used for Web application is as below : Set myvar_0 = Description.Create 'Setting property collection object for Browser myvar_0("class").value = "Browser" myvar_0("name").value= ".*" 'Setting property collection object for Page Set myvar_1 = Description.Create myvar_1("class").value = "Page" myvar_1("name").value= ".*" 'Setting property collection object for Text box Set myvar_2 = Description.Create myvar_2("class").value = "WebEdit" myvar_2("name").value= ".*" 'Setting property collection object for Button Set myvar_3 = Description.Create myvar_3("class").value = "WebButton" myvar_2("name").value= ".*" SystemUtil.Run "C:\Program Files\Internet Explorer\iexplore.exe" Browser("myvar_0").Page("myvar_1").WebEdit("myvar_2").Set ("hello how are you ?") Browser("myvar_0").Page("myvar_1").WebButton ("myvar_3").Click Browser("myvar_0").Page("myvar_1").Sync Browser("myvar_0").Close As our application is a Web based application, I was planning to make a few changes in regards to the object names, but unfortunately I am getting the above mentioned error. Could anyone please advice me, whether it could anything to do with the run setting or anything else.I am getting the same error even while implementing on our Sample Application - Mercury Tours website. I would be grateful to anybody who can solve my problem !!

1 5888

How to record right click of a context menu and click on the selection ?

3 19006

can i compare two databases using QTP ?

1861

can i change the runtime properties of an object ? How can i check if a parameter exists in database ?

1389

Suppose there are 100 links in a web page and the number of links will be changing dynamically from time to time. I need code such that every time i had to click on the last link of the web page.

Virtusa,

4 13389

Can anyone explain me about child objects in detail;when they are used and why do we need them ? please give me sample code for this if possible.

Virtusa,

1 3541

Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in

1574

what is the command (keyboard command) to swith from expert view to key word view

3 4896

how to change the properties of object during run time . plz give the code using flight reservation

2 8976

How do u connect database through QTP tell me both Ms Access and SQL

Livetek,

2 11893

how can u find the syntax errors or other script errors in your test during the execution of your QTP Test - (i.e., not after the execution/test run finished, but before finishing the test run)

HCL,

2 10662

what is the difference between Reusable action and external action?

HCL,

2 17567

what is the default ordinal identifier.what are the send keys in qTP.

1 9087

what are the files created after executing QTP script file, please specify the file names with extensions

Virtusa,

1 2146


Post New QTP Questions

Un-Answered Questions { QTP }

What are the Disadvantages of shared object repository?

545


why you have standardized functions? plzzz guys with real time exp. do answer

1409


Where to use Property Let, Property Get, Property Set in UFT

348


If the objects hierarchy is changing from build to build, then how you will handle that condition?

577


How to save your test using quicktest professional?

507






How will you check that your test cases covered all the requirements?

537


Plz Explain How to access Or Store Script from VSS? Explain Real time work (qtp) where you store folders and next to how to you access that folders and how you maintain folders in VSS ? What are the Menu's in VSS? Suppose in Manual, by using Checkin Checkout u can access documents. how you access in QTp REal time?

1551


Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?

1531


How you can make an action as re-usable action?

624


Could any one tell me "How can i recognize my cursor position using QTP 9.2" Give me a scripts for this

2032


What are the advantages of qtp?

552


How to create Reusable and Multiple Actions?

1682


What phases are involved in testing an application in qtp?

539


On the website, the protocol has been changed https: to https what you will do? Tell me your approach?

548


Explain how qtp identifies object?

591