Results 1 to 6 of 6
  1. #1

    Failing IF Statement

    Why or how can an IF statement fail

    Here is the Script:

    IF Browser("IE").Page("Systima").WebList("name:=Contr actStep1_.*.__relatedEquipmentQuoteId").EXIST THEN
    Browser("IE").Page("Systima").WebList("name:=Contr actStep1_.*.__relatedEquipmentQuoteId").Select "#1"
    END IF

    Attached is a Screen Shot
    Attached Images Attached Images

  2. #2

    Re: Failing IF Statement

    Try to get the items from the list and see if you get any result first,
    br().pg().weblist().getroproperty("all items")

    A Msgbox should display all the items in the list.

    If the Msgbox does not give you a result, try listobj=br().page().weblist().object
    listobj.select "list item name here"


    I build applications to test applications.

  3. #3

    Re: Failing IF Statement

    What does that error have to do with your IF statement?

  4. #4

    Re: Failing IF Statement

    Yep, you are right.

    Typo error.


  5. #5

  6. #6

    Re: Failing IF Statement

    Like I mentioned it was a Typo error.

    Yes Resolved.

    Thanks again.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
BetaSoft Inc.
All times are GMT -8. The time now is 04:02 PM.

Copyright BetaSoft Inc.