When recording an object QuickTest Professional uses one of D object's properties as D logical name 4 D object (the name displayed in D Expert View and in D KeywardView modes).
U can change D property that is used 2 be a different one bi specifying which property's value U want 2 use as D logical name 4 D object.
For example in order 2 use D alt property as D logical name of an image, run regedit.exe and set D following information:[HKEY_LOCAL_MACHINE\SOFTWARE\Mercury Interactive\QuickTest Professional\MicTest\Test Objects\Image]
"tag query name"="alt"
Showing posts with label test object. Show all posts
Showing posts with label test object. Show all posts
Wednesday, December 19, 2007
How 2 change D logical name of a Test Object?
Posted by
QTP FAQ's Jobs interview questions
at
9:37 AM
0
comments
Labels: change, logical name, QTP, test object, testing tools
What do know by ADD-ins in QTP? Properties of Test object? Runtime object?
Test objects are the one that will be recognized by QTP, where as Runtime objects are the actual objects that the test objects will be linked to.
SetTOProperty() function is used to change the properties of a test object.
Similarly GetROProperty(outer text) is used to get the outer text of object. Or you can use,
Webelement().object.outerText = “asasasasssa”.
Posted by
QTP FAQ's Jobs interview questions
at
9:37 AM
0
comments
Labels: add-ins, Functional testing, getroproperty(), mercury QTP, QTP, runtime object, test object, testing tools
Subscribe to:
Posts (Atom)