I am getting below error. and i m new to katalon,
could someone guide me.
Unable to find the element located by 'By.xpath: id("posBoardBusinessValidationDiv")/div[@class="flexigrid"]/
div[@class="bDiv"]/table[1]/tbody[1]/tr[1]/td[2]/div[1]/input'.
Please recheck the objects properties to make sure the desired element is located.
line 100
For an <id> attribute, having it in the below format is valid. This format only works on the <id> attribute. id("posBoardBusinessValidationDiv")
However, I would try and start your pathway closer to your final destination. Can you start at //table[1]/tbody[1]? Maybe like:
//table[1]/tbody[1]/tr[1]/td[2]/div[1]/input
(don’t know if this is a valid pathway due to your error message)
or even: id("posBoardBusinessValidationDiv")//table[1]/tbody[1]/tr[1]/td[2]/div[1]/input
Without seeing the HTML it is difficult to determine what pathway you should be using. You might have to waitFor until the object is visible before moving on.
Please share the HTML source of your target URL.
Please share the source code of your Test Case.
Please share the error log (do not trim much, surrounding logs needed)
Please share the screenshot of the definition of TestObject which the error was raised about.
… these are visible for you easily, but not for others.
I guess, the target web page uses <iframe> in which the HTML element at 'By.xpath: id("posBoardBusinessValidationDiv")/div[@class="flexigrid"]/ div[@class="bDiv"]/table[1]/tbody[1]/tr[1]/td[2]/div[1]/input' is contained.