Forum Discussion

nramesh's avatar
nramesh
Occasional Contributor
11 years ago

Guidance on VB automation scripting

My Web based application is undergoing an automation testing phase. How can i counter writing scripts in VB for the following scenario.The application will have 3 webpages A,B & C that run sequentiall...
  • tristaanogre's avatar
    11 years ago
    I think it would be more like this... again, Pseudocode



    PageA.ClickLink()

    if (application.waitAliasChild("PageB", 3000).Exists then

        PageB.ClickRadio()

    PageC.DoAction;




    Essentially, all you need to do is through in a check after you click the link on PageA to see if PageB comes up within a specified period fo time.