Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Math in object properties
#1
Not Solved
I have a dynamically created object and I want to identify it by using the "Y" property of the object. The "Y" value changes, but it is always less than or equal to 77. So, in the object property "Y" I want to use something like "<=77", but I can't get it to work. I can't find the correct Regular Expression to use this either. Unfortunately this is the only property that is unique enough to work with. Does anyone know the best way to get this to work? Thanks in advance.
Reply
#2
Not Solved
Code:
set desc=description.create
desc("micclass").value="ClassNameOfYourObject"

set childs=b().p().childobjects(desc)
if childs(0).getroproperty("Y")<0 then b().p().childs(0).click

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  verify that parent properties match object currently displayed in your application. sona 0 3,133 02-21-2016, 12:00 PM
Last Post: sona
  Object repository losing object properties ishan.mahajan@adp.com 2 3,760 08-20-2015, 11:33 PM
Last Post: ADITI1992
  Upgraded QTP 11.0 to UFT 11.53, Object Index Properties are varying Raghava M 0 2,180 01-28-2015, 06:02 PM
Last Post: Raghava M
  Object properties are not visible suresh.tata 1 2,610 02-23-2014, 03:58 PM
Last Post: supputuri
  What is the criteria of identify the object based on Base & option filter properties Suma Parimal 2 3,134 01-28-2014, 06:35 PM
Last Post: Suma Parimal

Forum Jump:


Users browsing this thread: 1 Guest(s)