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
In qtp, how you can exit for loop?
desribe a situation where u faced a stressful situation and how did u cope with it
What is keyword driven framework?
Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance
What are the different types of recording modes in qtp? Which will be used when?
I am having major problems with some DB Table Checkpoints I add to my script. I 35 web based applications recorded and each has DB Table Checkpoints insert but only 1 script isn't recognizing the DB Table Checkpoints for some reason. I've checked the DB connections and the info in the Library Functions and still only this one script out of 35 doesn't recognize the DB Table Checkpoints. Can someone please help me figure out why only this one script out of 35 that's hitting the same database is having a problem.
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?
PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME
What are the different attribute used with regular expression?
Explain the concept of how quicktest professional identifies object?
I need to obtain the parent of an object programatically, so if I have: winButton("aButton") I need to obtain the parent part: window("Window1").Dialog("Dialog1") so I can programatically create a string of the full name of the object to call it with an execute statement in QTP I would like to use something like: part[1] = "window(""Window1"")" part[2] = "dialog(""Dialog1"")" so I can do: exeLine = part[1]&"."&part[2]&"."&"winButton(""aButton"")" Execute exeLine Apart from keeping a record of the window/dialog hierarchy is there a parent or path function/ command Thanks Adrian
How can you identify the browser and its information using QTP script?
Explain in brief about the qtp automation object model (aom).
How can I change object description or check point values in qtp?
How many types of run modes are there in qtp?