Answered

Not able to click the required element because of resolution and not visible

Hi,

The Test cases are failed in the cloud run because not able to click the required element, since it is invisible. Kindly help us to use scroll commands for the below test case

Test case Name: moso_manual_signature_for_active_agreement_NewUI

Execution Set: MoSo_Agreements_NewUI_CloudRun_Phase6_Part_1

Execution ID: 4785

Please check and provide a solution for the same

Screenshots

Initial - Agreement group screen

Need to click "Personal 50-50" Agreement group which is in bottom of the screen, by using scroll down. 

Thanks

0
6 comments
Avatar
Rex Feizi

Would you please specify the XPath you are using as well as the HTML DOM snippet. 

0
Comment actions Permalink
Avatar
Gayathri

Hi,

The Xpath which failing is

Name: moso_systemconfig_agreementGroup.div.Personal5050_NewUI

Xpath: //app-grid-text-renderer[@class='ng-star-inserted']/following::div[contains(text(),' Personal 50-50 ')]

Lastly it get passed on 08/27/20

I have attached HTML DOM snippet.

Thanks

0
Comment actions Permalink
Avatar
Rex Feizi

If the element is not visible because of the resolution, can you use Scroll_to the same element you are trying to interact with? 

 

So basically

scroll_to LOCATOR

click LOCATOR 

Have you tried this? 

0
Comment actions Permalink
Avatar
Gayathri

Hi,

I have tried with scroll_to LOCATOR and then click LOCATOR. In scroll_to itself getting error as Locator not found.

Please give us solution for this.

Thanks

0
Comment actions Permalink
Avatar
Gayathri

Hi Team,

Any update on the above scenario? 

Still some test case failed due to this issue.

Thanks

0
Comment actions Permalink
Avatar
Joseph Hamdan

Hi Gayathri,

Apologies for the delay. We tried a couple of solutions, but they did not work, so we are still trying to find a solution that works in your case.

An update will be provided as soon as it's available.

Regards,

Subject7 Team

0
Comment actions Permalink

Please sign in to leave a comment.