Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How do i relate the checkbox properties with webelement
when checkbox properties are changing on every login to the
application



How do i relate the checkbox properties with webelement when checkbox properties are changing on e..

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

Post New Answer

More QTP Interview Questions

Hi Samrat, Thank u very much, what u said it is right.

0 Answers  


how can we group that these test cases only should be automated and in which order you execute that test cases

3 Answers   Maveric, Satyam,


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...?

4 Answers  


What are the different types of checkpoints?

0 Answers  


can any one tell me How exactly data drivent testing is done in.explain with any example and the exact steps to fallow?

2 Answers  


What is action? How many types of actions are there in qtp?

0 Answers  


How many ways we can parameterize data in quicktest professional?

0 Answers  


what are the areas that cannot be tested using an automated tool? list a few

3 Answers  


Explain about the test fusion report of quicktest professional?

0 Answers  


Maximum synchronizing time out in QTP

3 Answers   Kanbay,


What types of testing comes under functional testing or in other word what will you test in functional testing?

3 Answers   Infosys,


what is the frame work in J-meter?

0 Answers  


Categories