if object is identifying based on your description,Please make regular expresion of you height property 2[1-9].
On Wed, Jun 5, 2013 at 6:05 PM, Rajesh <[email protected]> wrote: > You cannot do it the way you expect, but it will be helpful if you can > explain your overall objective n doing this. > > Do you want to enter the text in a particular text box in a screen which > has many text boxes ? Then, you can use a loop to iterate through the list > of text boxes and include an If condition inside the loop to check the > height. > > > On Wednesday, June 5, 2013 2:43:50 PM UTC+5:30, 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. > > > -- -- 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.
