Ask a Question

Why is a web menu selection object not recognized during Jenkins cloud run?

SOLVED
Jaime
Occasional Contributor

Why is a web menu selection object not recognized during Jenkins cloud run?

Using TestComplete to test a webpage.  During the test, it selects a selection menu, selects a value and finishes the run successfully.  Every time I run this same test via Jenkins CI/CD, I continue to get the same error, that the selection value object does not exist.  Here is my code in JavaScript.  It is the last line of the code that fails via cloud run. Again, every time it is executed locally it runs successfully recognizing the object.  Any ideas???  Thanks!

 

//employeeStatus
let buttonES = browser.pageHomeSalesforce2.textnodeEmployeeStatus;
buttonES.scrollIntoView();
Delay(4000)
buttonES.buttonEmployeeStatus2.ClickButton();
Delay(4000)
buttonES.textnodeInactive.Click();

2 REPLIES 2
Jaime
Occasional Contributor

I fixed this!  I needed to hit the selection menu twice.  Once to have focus, and the second time, to make the selection!

sonya_m
SmartBear Alumni (Retired)

Thank you so much for sharing the solution, Jaime!


Sonya Mihaljova
Community and Education Specialist

cancel
Showing results for 
Search instead for 
Did you mean: