Why is a web menu selection object not recognized during Jenkins cloud run?
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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();
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I fixed this! I needed to hit the selection menu twice. Once to have focus, and the second time, to make the selection!
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you so much for sharing the solution, Jaime!
Sonya Mihaljova
Community and Education Specialist
