How to find an element in Salesforce applauncher pop up using Selenium Webdriver

0 votes
Selenium and Salesforce are both new to me. I'm building a script that logs into Salesforce, launches the Applauncher, and then selects "Marketing." The script I used to accomplish this can be found below. However, it works till you open the applauncher Pop Up. After then, it's impossible to locate the pop-"Marketing" up's element. I'm not sure whether it's a pop-up, a child page, or a new window. But I've been stuck and struggling for the past two days, and it's driving me crazy. The code can be found below. Please assist.
Mar 16, 2022 in SalesForce by surbhi
• 3,820 points
984 views

1 answer to this question.

0 votes

Try if this works:-

driver.findElement(By.xpath(".//p[text() ='Marketing']")).click();

Hope this helps!

Check out the Salesforce Training to learn more!

answered Mar 17, 2022 by CoolCoder
• 4,420 points

Related Questions In SalesForce

0 votes
0 answers

How to find the difference between sandbox and production in salesforce

I have some action that if I ...READ MORE

Mar 30, 2022 in SalesForce by surbhi
• 3,820 points
674 views
0 votes
1 answer

How to add days to date time in Salesforce Apex?

Beware the DST issue! The "addDays" function ...READ MORE

answered Mar 15, 2022 in SalesForce by CoolCoder
• 4,420 points

edited Jun 19, 2023 by Khan Sarfaraz 7,532 views
0 votes
1 answer
0 votes
1 answer

How do i get all values from a global pick list in salesforce using REST Api?

Since API 39.0 it is possible to ...READ MORE

answered Mar 17, 2022 in SalesForce by CoolCoder
• 4,420 points
7,024 views
+2 votes
2 answers

Salesforce Interview questions

Here are some questions very important for ...READ MORE

answered Jan 11, 2019 in Career Counselling by Suresh
• 720 points
3,393 views
0 votes
1 answer

How to connect to salesforce from tableau?

Hi, follow these steps to connect to Salesforce: 1. ...READ MORE

answered Mar 25, 2019 in Tableau by Cherukuri
• 33,030 points
1,038 views
0 votes
1 answer

Power BI - Salesforce

Hi, Follow below steps: 1. Go to Data source. 2. ...READ MORE

answered Mar 25, 2019 in Power BI by Cherukuri
• 33,030 points
754 views
0 votes
2 answers

What is the best training for Salesforce ADM-201 Exam?

Hi @Vardhan, I took Edureka's Salesforce Online Training, ...READ MORE

answered Jun 3, 2021 in Others by Jaya
• 140 points

edited Dec 22, 2021 by Soumya 726 views
0 votes
1 answer

how to find the difference between sandbox and production in salesforce

It could be a validation rule or ...READ MORE

answered Apr 1, 2022 in SalesForce by CoolCoder
• 4,420 points

edited Jun 27, 2023 by Khan Sarfaraz 1,471 views
0 votes
1 answer

How to Update RecordTypeId field in Lightning record form in salesforce?

A critical action that messes everything up ...READ MORE

answered Mar 3, 2022 in SalesForce by CoolCoder
• 4,420 points
3,349 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP