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

how do u handle an object without name using QTP 9.2?

0 Answers   CTS,


What is standalone database?

0 Answers  


how can we retrieve ten rows from the data table using loop concept?

4 Answers  


How to use checkpoints in qtp ?

0 Answers  


What is accessibility check point?

0 Answers  


Describe how Smart Identification is used

0 Answers  


Without QTP (or any Testing tool) can we able to test the GUI part of the Applications. for Example generating the Scripts in Notepad and Executing them Using VB. Is it Possible to do so.. Correct me if iam wrong some where.

8 Answers   Microsoft,


What are the types of Object Repository’s in QTP?

2 Answers   Crea,


how u track bugs using Test director in manual testing.

2 Answers   Accenture, FCG,


what is main diff of qtp8.2 and qtp9.0?

1 Answers   Covansys,


What is difference between WR and QTP?

2 Answers  


Explain different type of event trigger option.

0 Answers  


Categories