Hello everybody! I would like to ask you what is the best way for coding a function in Java script for choosing (click) a value into a dynamic table? Thank you for helping me in advance. ...
> I am not sure if I am permitted to share my recorded code
I am not sure that your first recorded code is that confidential. :) But if it is, then you should either create Support ticket via the https://support.smartbear.com/message/?prod=TestComplete form (SmartBear considers NDA signup when asked by the customer) or find a way to clearly describe the problem here. I am not aware about oracles on this forum who can understand the problem just by its generic description.
> //when I click for typing the webpage www.
baxatob already replied that direct address typing is not the best practice because it is less robust then navigational methods provided by the Browser object in TestComplete.
This makes me guess (just to guess as you are not willing to provide us with the Object Browser screenshot that contains the internal structure of the table on the tested page) that the tested table has a classic markup with the cells inside it.
Hi guys, thank you for your answers and sorry for that late response from my side.
Now I have created a simulation that has the same idea as I need for.
I need: Test complete should go to the list number 3 (blue one) and go through the table value until testcomplete pick up the value "Anna10" (that is now at the position 10). Because Annas are in alphabetic order, I could create, with the help of AO1, Anna0. Anna0 would be then at first, so Anna10 would slip off at the position 11.