Submitted Questions

  • How to handle this scenerio?

    When trying to run script1. if Window("windowname") Then2. script.CallScript("login")3. else 4. browser.close()5. end ifan error is thrown as - "a logical expression is required for this statement"Please someone tell me how can I handle this scenerio?

    Vijay

    • Aug 23rd, 2011

    IN if < statement > then statement must return a logical boolean value (true/false) if u r trying to check ehether window exists use window("window).exists or if you are trying to check if the win...