does anybody have experience in creating custom web connector for a website that has a checkbox

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

does anybody have experience in creating custom web connector for a website that has a checkbox

I am trying to build a custom PSM Connector for a website and the "stay logged in" checkbox needs to be checked. I've tried multiple types of xpath and searching by class or type but its not working. does anybody have any advice? thank you!

 

sample code:

username>{username}(Searchby=name)

//span[@class='sc-ciZhAO gzgQGh']>(click)(Findby=xpath)

Continue>(click)(Searchby=text)

i0118 > {password}

idSIButton9 > (Button)Field_Content_versions_oct20__068Ht00000TjS4hIAF.png

10 REPLIES 10

L6 Presenter

A span is just a container, something you use to group other elements for the purpose of applying styling. Have you tried clicking the sibling input element that just preceeds the span? Example:

//input[@name="keepMeSignedIn"]

You may be able to get away with just

keepMeSignedIn > (click)(searchby=name)

 

Hi Tim, thanks for the response. Ive tried both and still doesnt work and still receiving the cannot find eleement error

 

L7 Applicator

Hi @Enriqueto Bascugin​ 

 

Can you try this x path example? //input[@type='checkbox']

What error exactly are you getting when you look in the debug logs? You are escaping the brackets as well, correct? It would mean that the XPath

//input[@name="keepMeSignedIn"]

would be written as

//input^[@name="keepMeSignedIn"^]

when using XPath in WebForm fields. See the documentation, specifically the table under the Input field heading.

 

L7 Applicator

Hi @Enriqueto Bascugin​ Just curious whether any of the above shared Xpath worked for you ?

Hi, I didn't test any of the suggestions above because we enabled SSO on the account and changed the login methods, so we didn't need the checkbox.

 

 

Okay thanks for updating the thread

L4 Transporter

Hi @Enriqueto Bascugin​,

Have you succeeded in solving this problem?

If the issue is still relevant, I would advise raising a ticket with our Support team for further assistance.

 

Thanks,

Niv

Hi @Niv Levi​ 

 

No, we haven't resolved the issue.

What we did was enable SSO to Workjam via Azure, and the login process is now different, so we don't need to check that textbox.

 

New login flow:

Open the URL > It will prompt with Azure Login form > injecting the credentials > Workjam admin page.

 

Hope this information helps.

Many thanks!

 

 

L1 Bithead

When changing my password, I had trouble selecting the checkbox. I solved it by replacing "Type=click" with the checkbox's ID.

 Field_Content_versions_oct20__068Ht00000UJE3QIAX.pngChange]

username>{Username}(Searchby=name)

password>{Password}(Searchby=name)

//*[@id="loginChangePW"]>(click)(Searchby=XPath)

submitBtn>(Button)(Searchby=name)

loginSubmit>(Validation)(Searchby=id)

  • 573 Views
  • 10 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!