Not able to find selector after login into windows application
Hi, I am new and trying to automate windows application using winapp driver. I am able to launch the application and login into application using winapp driver but after login, getting error below error. I am trying to click the dropdown and menu buttons but didn't perform any action.
POST /session/529CCF05-AAD4-4DAC-9854-717CE02FC38A/element HTTP/1.1 Accept: application/json, image/png Content-Length: 31 Content-Type: application/json;charset=utf-8 Host: 127.0.0.1:4723 User-Agent: selenium/3.141.0 (.net windows) X-Idempotency-Key: 2db284a9-0cd3-4115-bb96-0fe3025090e1
{"using":"name","value":"Join"} HTTP/1.1 404 Not Found Content-Length: 139 Content-Type: application/json
{"status":7,"value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters."}}
@mayank-malik-alight use inspect to check if the new window after login is in separate instance, if yes then switch to that instance using native window handle and then find the element.
@RakeshDangi-slt , I have found everytime Runtime id, automation id and process id getting change, i think that why not able to find selector after login into applicaiton. Any suggestion like how i can handle.
@mayank-malik-alight please create an xpath with the available unique elements and then try to verify, this will work.