asmatullah
10 years agoContributor
Problem in finding "VCLObject"
Hi Experts ,
I am getting problem with finding "VCLObject".
Problem is that When I use Object Spy ,It gives me diffent types of Full names .
Ex :
Condition 1. Sys["Process"]("MainApp")["VCLObject"]("MOPMainApp")["VCLObject"]("PlantArea")["VCLObject"]("AlarmList")["VCLObject"]("AlarmsList1")
Condition 2. Sys.Process("MainApp").Window("TMOPMainApp",MOPMainApp",1).VCLObject("PlantArea").VCLObject("AlarmList").VCLObject("AlarmsList1")
If I get the First Condition 1,I am able to click on buttons of the Application .But if get the Condition 2, I am not able to Click on the Buttons .
Also If the Second conditions appears I restart Application .
Now I am restarting Appliacation again and again and not able to proceed for Testing .
Also What is the criteria for TestComplete to find “VCLObject” and “Window” ?
Please help me out .I am Stuck !
Scenario :
i) Launch Application .
ii)Wait for all application to Start .(Here I am waiting for objects to get loaded)
iii)When all Objects are loaded on Screen ,Start Testing .
iv)If Objects are not loaded properly As mentioned above in Condition 2 . I Restart application.
Please refer to attach Image for Object Spy Details
I am getting problem with finding "VCLObject".
Problem is that When I use Object Spy ,It gives me diffent types of Full names .
Ex :
Condition 1. Sys["Process"]("MainApp")["VCLObject"]("MOPMainApp")["VCLObject"]("PlantArea")["VCLObject"]("AlarmList")["VCLObject"]("AlarmsList1")
Condition 2. Sys.Process("MainApp").Window("TMOPMainApp",MOPMainApp",1).VCLObject("PlantArea").VCLObject("AlarmList").VCLObject("AlarmsList1")
If I get the First Condition 1,I am able to click on buttons of the Application .But if get the Condition 2, I am not able to Click on the Buttons .
Also If the Second conditions appears I restart Application .
Now I am restarting Appliacation again and again and not able to proceed for Testing .
Also What is the criteria for TestComplete to find “VCLObject” and “Window” ?
Please help me out .I am Stuck !
Scenario :
i) Launch Application .
ii)Wait for all application to Start .(Here I am waiting for objects to get loaded)
iii)When all Objects are loaded on Screen ,Start Testing .
iv)If Objects are not loaded properly As mentioned above in Condition 2 . I Restart application.
Please refer to attach Image for Object Spy Details