Hi Shilpa,
 
If you want to identify the object then you can use other property ..Like 
html tag ,html id,name ,webEdit property...
 
Hight property is not good option to choose ,it will change depend on your 
resolution and IE ZOOM setting...So your script  might 
 
Run on your system with hight property but no guarentee that will run in 
other machine with different seeting ..
 
Chosse those property which is rigid..
 
~J~
 
 

On Wednesday, June 5, 2013 5:13:50 AM UTC-4, shilpa gupta wrote:

> HI
>  
> I am uisng DP to work on a text box
> using below code
>  
> Set objObject           =Description.Create()
> objObject("wpftypename").value   ="edit"
> objObject("height").value     = 22
>  
> I need to use height property but its value is not constant in 
> application. sometime it is 22 and some time it is 23.
> also it should not be zero.
> so, pls tell me how to write 
> objObject("height").value = 22
> in place of 22, i want to mention that value should be greater than zero
> pls tel me how to do this
>

-- 
-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

--- 
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to