Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Check Box (Website)
#12
I tried. The accessible object is not found...
I get stuck in the begining itself so can't go further to test the checkboxes
I tried the test button when the item is visible; it finds the object. But when I scroll to the begining of the page, 'test' does not find the accessible object.
How can I work around this limitation?
Below is the exact code that I am using.
I am using the object name as is from what I got while using the drag method
I even tried using * as well but no luck...

Macro VISTA Order Amends
Code:
Copy      Help
;changing veneer
int w8=wait(3 WV win("Vehicle Configuration - Windows Internet Explorer" "IEFrame"))
Acc a1.Find(w8 "TEXT" "  088EH Grand Black Wood (12) " "state=0x40 0x20000040" 0x3005 3 0 "parent previous first2")
Acc a2.Find(w8 "TEXT" "  088HF Shadow Walnut Veneer " "state=0x40 0x20000040" 0x3005 3 0 "parent previous first2")
Acc a3.Find(w8 "TEXT" "  088HY Grey Oak " "state=0x40 0x20000040" 0x3005 3 0 "parent previous first2")



str varTemp1 varTemp2 varTemp3
varTemp1=a1.WebAttribute("src")
varTemp2=a2.WebAttribute("src")
varTemp3=a3.WebAttribute("src")


if veneer="Ebony Macassar"
,if varTemp1="*+config-available.gif"
,,a1.DoDefaultAction
,if varTemp2="*+config-available.gif"
,,a2.DoDefaultAction
,if varTemp3="*+config-available.gif"
,,a3.DoDefaultAction
else if veneer="Grand Black Wood"
,if !varTemp1="*+config-available.gif"
,,a1.DoDefaultAction
else if veneer="Shadow Walnut"
,if !varTemp2="*+config-available.gif"
,,a2.DoDefaultAction
else if veneer="Grey Oak"
,if !varTemp3="*+config-available.gif"
,,a3.DoDefaultAction
Best Regards,
Philip


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)