If an application name is changing frequently i.e while
recording it has name “Window1” and then while running
its “Windows2” in this case how does QTP handle?
Answers were Sorted based on User's Feedback
Answer / jaya
Yes..We can handle such situation using the regular
expressions.Select "window1" in the script.Goto tools and
open the object repository.Select Window1 in the tree that
gets displayed.In the configure value click the constant
value option button and change the value from "window1"
to "window.*" and click the Regular expression
checkbox.click OK.
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / prasad
QTP handle this type situation using "Regular
expressions",like :"Windows.*"("*" indicates 0 to meny
no.s/characters ... in this case 1 2 3 4 5 ........)
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / xyz
Check their property which is not changing dynamically. Set
that property to identify object.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / siva
Best one is regular expression.Regular expression can
easily identifies the objects with dynamic values during
run-time.
1. Go to Object Repository.
2. Select the particular object in the left side and
double click on the property value("Name of the window")
3.Click on regular Expression check box and set as 'window
[0-9]*
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / reddy prasad
e that paricular field as a regular expression
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / aparna
the same thing can be handled using smart
identification..in base filter properties list select some
of the unique properties for the window except the text
property which is changing dynamically..and u can use
GETROPROPERTY and SETTOPROPERTY for the same
| Is This Answer Correct ? | 1 Yes | 3 No |
whenever U using QTP,Test Director, Why we using separate Bug tracking tool?
Can any body please tell me the steps of keyword driven frame work in qtp. My mail is saswat445@gmail.com please send some materials on keyword driven testing in qtp. thanks a lot...
take one example and write vbscript on one web application in qtp? explian descriptive programe with one example?
Currently i have designed my script based on the test cases present in Quality Center. I want to run my script from quality center. Can anyone help me to get the code which will connect QTP with Quality Center and execute the test cases?
Can anyone pls tell me in realtime (descriptive programming) how will the properties of the object be given to the test team. R they given in an excel sheet and is the same sheet also given to the development team and by whom is this given? Thanks a lot.
Please mail me the license key of QTP 9.5 t v.sadangi@gmail.com ????? thx
Why we are going for descriptive programming ? I answered as 'If objects are not present in OR we will go for descriptive Programming'? Is this correct ?
What is the advantage of associating a procedure with a test object?
Iam trying to write script for Rediffmail Page,in doing so the script line for go button is not accepting. Is their any other way other than . Browser("micClass:=browser").Page("micClass:=Page").Link ("micClasss:=Link","name=go")
what is vss and cvs what is main difference b/w these two
your doing one project testing then how u know itis wheather web based application or windows based application?
what is recovery manager and recovey scenerio?