Technology specific object identification, supported applications, web technologies, and 3rd party controls.
- Posts: 48
- Joined: Tue Aug 14, 2012 5:47 pm
I am trying to create variables to easily enter repository elements, cell Index's, or other into the GUI field and the code sends the element. I can get this to compile but it won't find the actual element and spits out this error:
No element found for path 'portalqa.portalqarepository.instance.portal.page.reports.minordpercentrow1' within 10s.
I am trying to create a web element out of the USER inputed text, grab the inner text, and than convert it to a string. Finally this is sent to my central counting code.
Code: Select all
public void countGUI(string row1, string row2, string total)
var rowTmp1 = new WebElement(row1);
var tmp = rowTmp1.InnerText.ToString();
Path.To.Called.Code.To.Count(row1, row2, total);
- Site Admin
- Posts: 12138
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Why do you save the Repository items into new variables and don't use the Repository original elements?
Please make sure that the RxPath of the element, which is not found is correct and make sure that the element is still available.
Ranorex Support Team