How do i relate the checkbox properties with webelement
when checkbox properties are changing on every login to the
application
Answer Posted / tvs ramakrishna chowdary
we can solve this by using regular expression and setto pro
perty method
------------------------------------------------------------
1)by or
-------
1)go to or
2)select webcheckbox object
3)goto object properties pane
4)select the name property
5)in the value portion click 'configure value' buttton
6)replace constant with *.*
7)selct check box Regular expression ON
8)click ok
9)close or
10)now u run ur script
2nd way
----------
' by using setto property method we can change the property
value dynamically as follows....
newval=oh.link("linkname").getroproperty("name")
objectheirarchy.link("link name").setto
property "name","newval"
'here first we r getting dynamic changing link object
pro "name" by getro prop in to the variable...
'then we are make using that variable to set into or
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Explain in brief about the qtp automation object model (aom).
What is qtpro?
Hi all, I am using windows vista, I am in the process of learning QTP. When ever I try to work with insert mode in flight application , i am getting the error of 'Operation must use an update table query, fractional truncation(null) error. Can anyone help me regarding this?
If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?
What is the script for database check point, bitmapchek point, regular expression ?
i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?
can any one say that where we can download the QTP trail version ??????????
Shall we add Local Repository to shared object repository,if yes,how we add
What are output values and why they are used ?
How you know that a test case is a regression test case
How does qtp identify gui object?
What are the views available in quicktest professional (qtp)?
What are the views available in quicktest professional?
if there is a web table of having row and colmns.a button is placed at 2nd row's 3rd column which is worked for both edit and delete..how to write script for the button to test both operation on the web table using desriptive programing.. plz help me on script wheather using getroproperty Q2)what is the command for taking valiue from a web table in qtp
unique properties of button,edit box, radio button,check box?