How do i relate the checkbox properties with webelement
when checkbox properties are changing on every login to the
application
Answer / 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 |
Hi Samrat, Thank u very much, what u said it is right.
how can we group that these test cases only should be automated and in which order you execute that test cases
I got an error "The"flightres" Dialog was not found in the Object Repository. Check the OR to confirm that the object exists or to find the correct name for the object." while running the following script Set flightres=description.Create() flightres("text").value="Login" flightres("Class Name").value="Dialog" Set agent = description.Create() agent("nativeclass").value="WinEdit" agent("attachedtext").value="Agent Name:" Set pwd = description.Create() pwd("nativeclass").value="WinEdit" pwd("attachedtext").value="Password" Set button = description.Create() button("nativeclass").value="WinButton" button("Text").value="OK" Dialog("flightres").WinEdit("agent").Set "test" Dialog("flightres").WinEdit("pwd").Set "mercury" Dialog("flightres").WinButton("button").Click Please let me know if i made any mistake in the above script...?
What are the different types of checkpoints?
can any one tell me How exactly data drivent testing is done in.explain with any example and the exact steps to fallow?
What is action? How many types of actions are there in qtp?
How many ways we can parameterize data in quicktest professional?
what are the areas that cannot be tested using an automated tool? list a few
Explain about the test fusion report of quicktest professional?
Maximum synchronizing time out in QTP
What types of testing comes under functional testing or in other word what will you test in functional testing?
what is the frame work in J-meter?