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
Describe function procedure in vbscript.
diff between qtp versions from 8.5
how to know no.of mails in our g mail by using vb-script
I need to pull the data from the page which in row, column vice into excel sheet, how can it be done using QTP? eg: Name Dept xyz gdty i need the same data to be exported in excel sheet.
Step 3&4 are repeated until an the object in recognised uniquely.
Explain calling sub procedure.
how to test Web application using QTP software
I am getting the "test object property" Description properties "toolkit class" value By using "gettoproperty" in run time But my problem is how to get Ordinal Identyfier's type and value Type is index, value is 0 How can i keep this values in to required place How can i get these values in runtime I have to insert these "index" and "value" into another area Is there any script for this like "gettoproperties","Getroproperties" If anybody knows,please help me .
What is accessibility check point?
How to use output values in qtp ?
Give me some real time point of way where exactly we can conduct audits?
Hi could some one explan what is the use of the function Defination generator, And how to use the function defination generator.. Explan with the example..
can i change the runtime properties of an object ? How can i check if a parameter exists in database ?
i need qtp tutorial. pls send it to sridhar.k151@g mail.com
In QTP can we feed the out of one browser(internet explorer) as an input to the another browser(mozilla firefox)? If yes explain how to do it with an example.