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
Should have experience in framework means?
can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process
what is impact analysis on regression testing?
i have an external excel datasheet where it only contains 3 rows. after qtp executed the code to import the datasheet, the datatable getrowcount method now gives me a different value, lets say 60,000+ instead of only 3. i did not have any values starting from row 4 of my excel file. why is this happening? this also results to the qtp report to load for a very long time.
Tell me about your project? please help me how to tell about insurance project
When Recovery scenario actually starts while testing the application?
How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?
There is an built in window application in qtp9.1,i.e.Flight4.0.i want to implement the recovery maneger on it.How can i do this?
is it possible to add sheets to excel at runtime
What does mean by Scope of Automation?n How we defined it?
how to test Web application using QTP software
What is action? How many types of actions are there in qtp?
How you can delete excel file in qtp?
What is clean sweep?
Suppose I have three hyperlinks with same properties. How to solve this and what are the ways to solve this. we can solve this by using index property but what are the other ways we have have to solve this problem. Login (href: btnlogin.aspx) Login (href: Sourcelogin.aspx) Login (href: homelogin.aspx)