hi,i have a pblm in qtp,im testing an webappl in which
different types of error pop up messages are displayed
which qtp is not differentiating or it is not recognising.
how do i make it recognise different popup errorm messages
while writing script?
Answers were Sorted based on User's Feedback
Answer / mukesh
Hi guys he is asking about how to recognise one pop up from
other and not of the error message when the application
fails----I am also facing the same problem
For example QTP dosen't recognise different pop up message
if we use it in a If else statement----i.e for all pop ups
it goes onlt in the 'If' condition always
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / kamesh
Use the Recovery manger to diffrentiating the pop up..Here
you have two check box options like
1. Window title and Regular expression
2. Window text contains
Is This Answer Correct ? | 0 Yes | 1 No |
Answer / rosy
Hi, use Recovery Scenario manager for error handling, you
can instruct it to recognize the error.
Is This Answer Correct ? | 0 Yes | 1 No |
Answer / raja
Use recovery scenario or else learn the OR of those windows
then handle those pop ups thro' script...
Is This Answer Correct ? | 0 Yes | 1 No |
Define Canvas view of UFT?
What are the automation metrice in your project?
Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com
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 !!
How will you enchance the script?
How should I get results when I run scripts in a Batch mode
How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.
How to add check point?
what are the challenges you have faced while testing web based application using the automation tools ?
str="ramanareddy12345@gmail.com"to count alphabets,numarics and special charcters pls any one knows send to answer
I have 2 Environment variable which holds int. I called into my test and addedup. but output is concatenating the values instead of Sum. Ex. Envi("a")= 10, Envi("b") = 20, c= Envi("a")+ Envi("b"). msgbox c ( Ans.1020). How to overcome this pblm?
How function returns a value?