Mysterious scalability – part 2
Home › Forums › Ask Expert › Mysterious scalability – part 2
- This topic has 8 replies, 2 voices, and was last updated 1 year, 11 months ago by Sasha ZAP.
-
AuthorPosts
-
April 22, 2022 at 6:48 pm #32963Marco MalziottiParticipant
Hello
I would like to select a given item in a list.
For the element contained in the first line of the DataSource there are no problems (see video “selection-ok.webm” in .zip file) with the attached script.
The same script does not select the element contained in the second row of the DataSource (see video “selection-nok.webm” in .zip file).
I ask for help.
Thank youMarco Malziotti
Attachments:April 26, 2022 at 11:15 pm #32966Sasha ZAPModeratorHello Marco,
Basically I do not have access to your AUT(Application Under Test) but I’ve added new objects and steps which I believe may help you to enable the required automation:
Please check the new attached “item-selection_ZAPFIX.zap” test, in it the “ZAP FIX” section.Hope this helps.
Thanks,
ZAPTEST TeamAttachments:May 4, 2022 at 3:43 pm #33000Marco MalziottiParticipantThank you Sasha
The operator does not know the customer_id a priori, so the solution you proposed is not applicable. I share in these new attachments another version of my script and the respective videos for each row of the DataSource. There is a small improvement but ZapTest does not select the “iconDetail” icon. The password to replace in the .csv file is this:
https://ots.octotelematics.com/secret/i42e9kgciimbtzv4mms9vplhrgdkz68
(duration 4 hours)Attachments:May 5, 2022 at 9:34 pm #33067Sasha ZAPModeratorHello Marco,
Unfortunately I could not access you app, the UID was not correct (See attached “cannot login to NISSAN.jpg” screenshot).
Please check the attached “item-selection_ZAPFIX.zap” file which I’ve updated it a bit, maybe this update will help you.
Thanks,
ZAPTEST TeamAttachments:May 6, 2022 at 12:06 pm #33070Marco MalziottiParticipantTo use item-selection2.zap shared in my previous post, you must use data source saved in item-selection2.zip (same post) with this password:
https://ots.octotelematics.com/secret/mf42arpwz7ihxs37cgypg0k0az6nyxf
Thanks.Marco Malziotti
May 6, 2022 at 11:00 pm #33135Sasha ZAPModeratorHello Marco,
I’ve fixed a bot the “item-selection_ZAPFIX.zap” and now it does click the Surname icon (See also the 2 attached screenshots).
Hope this will help you.
Thanks,
ZAPTEST TeamAttachments:May 6, 2022 at 11:01 pm #33136Sasha ZAPModeratorThis is the attached “item-selection_ZAPFIX.zap” ZAPTEST fixed script.
P.S. Also please add a “Wait 6” statement in your “item-selection2.zap” script after line #50:
Application(“C2C”).View(“SearchCustomer”).Object(“btnSearch”).Click
Wait 6
This way the test will wait while the “SearchCustomer” page is being processed.Thanks,
ZAPTEST TeamAttachments:May 18, 2022 at 11:03 am #33138Marco MalziottiParticipantThanks. It may not be the first row once sorted by surname.
Thanks to your suggestion I got this final version.
ThanksMarco Malziotti
May 18, 2022 at 6:04 pm #33139Sasha ZAPModeratorHello Marco,
Do you still need more help on this ticket?
Thanks,
ZAPTEST Team. -
AuthorPosts
- You must be logged in to reply to this topic.