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


Please Help Members By Posting Answers For Below Questions

Explain in brief about the qtp automation object model (aom).

550


What is qtpro?

582


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?

1387


If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?

576


What is the script for database check point, bitmapchek point, regular expression ?

1543






i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?

1492


can any one say that where we can download the QTP trail version ??????????

1355


Shall we add Local Repository to shared object repository,if yes,how we add

5662


What are output values and why they are used ?

616


How you know that a test case is a regression test case

3047


How does qtp identify gui object?

580


What are the views available in quicktest professional (qtp)?

561


What are the views available in quicktest professional?

550


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

23869


unique properties of button,edit box, radio button,check box?

3807