Questions tagged [selenium]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
24 views

execute_script always returns nil when using capybara with selenium webdriver to automate tests

I am trying to use Capybara with Selenium WebDriver and Chromedriver (headless) to automate an integration we have with Salesforce. When I try to use find() or all() to locate non-unique elements on ...
1
vote
1answer
100 views

How to pass multiple arguments to a test case using CumulusCI?

Problem statement: Unable to pass multiple variable values to my test case using CumulusCI command: cci task run robot... Sample Code: *** Settings *** Resource C:/Dev/myproject/robotframework/...
1
vote
0answers
53 views

Populate Contact Information using Selenium

I am very new to Selenium. Basically i need to populate the fields below using selenium web-driver in Visual Studio. Because of the lightning components i am having trouble using XPath. Need help ...
0
votes
1answer
35 views

How to implement “Get Locator” keyword from CumulusCI library?

Every implementation of Get Locator keyword I am trying is resulting into: AttributeError: 'dict' object has no attribute 'format'` please educate me with respect to the correct implementation and ...
0
votes
1answer
60 views

WebElement which can be located in Classic mode but failing in Lightening mode using Selenium WebDriver

I am trying to automated Salesforce using Selenium WebDriver and so far I have faced many challenges and also overcame after following the suggestions provided in the community. Here, I am facing a ...
0
votes
1answer
965 views

How to bypass the verification code when run test case from Selenium script?

I want to run my test case with Selenium script. But whenever I login with selenium it aways ask for verification code. I know I can do it using the Profile Id, but I want to do it with code. ...
-1
votes
2answers
840 views

Automation of salesforce Lightning pages using selenium

this question is related to provar automation tool which is used for salesforce automation so can you please let me know about the below comment which i get from from provar official website. ...
1
vote
1answer
79 views

Using ids to identify page elemensts for UI testing with Selenium

We are using Selenium to test our UI and need to be able to find a reliable way to identify the elements of the page we are working with. I am working with a button and have defined an id to be able ...
1
vote
2answers
734 views

How to use Javascript to check if a salesforce lightning page is loaded completely

I am implementing selenium automated web tests on salesforce lightning page. Between different test steps, the test need wait until the web page is completely loaded, so that the web element is ...
1
vote
0answers
156 views

Advantages of Cinnamon for UI test automation [closed]

We want to start automating our UI tests and have found Cinnamon that seems to be a better and more specific Salesforce testing tool. We want to use a testing tool for our managed package that has ...
17
votes
1answer
2k views

What do you use to automate the testing of your Lightning Components?

We've written some Lightning Testing Service tests but its been hard work given the asynchronous nature of the code and that the LockerService blocks access to the underlying DOM. I'm now wondering if ...
12
votes
0answers
470 views

Testing Salesforce CPQ

I'm trying to create some meaningful tests for Salesforce CPQ. I'm trying to create Apex test classes and also UI tests with Selenium. The problem with the apex tests is that a lot of the important ...
9
votes
1answer
315 views

Does the LockerService make Selenium tests impossible?

When running Lightning Testing Service tests, the impact of the LockerService is evident such as not being able to see the DOM nodes of a lightning:... component (different namespace) wrapped by one ...
3
votes
0answers
1k views

How to bypass verification code for selenium testing

I am new to use selenium to test Salesforce. It seems to me it is opening browser in a completely new session which requires login and verification code. And I need to skip the verification code to ...
7
votes
2answers
5k views

How to Identify Elements in Salesforce Lightning for Selenium

I am trying to automate Salesforce lightning using Selenium, but getting issues with identifying elements. Reason, its having dynamic IDs , and other attributes are either very long , or they are not ...
0
votes
1answer
414 views

How to test page layouts?

Functionality of some elements in the layout can be covered by unit tests. For example, in custom apex or visual force controllers. However, those functions work independent from the layouts. Unit ...
1
vote
1answer
404 views

Identify candidates for Selenium test automation?

Salesforce already uses both unit tests & Selenium to automate out-of-the-box features. Our developers are covering their code with unit tests. In order to avoid redundancy regarding the above, ...
0
votes
1answer
778 views

Unable to automate salesforce lightning components using selenium web driver

I have automated classis view in salesforce but in lightning view same elements are not recognizable by selenium webdriver. VF embedded controls are not recognizable in lightning mode
3
votes
0answers
827 views

Selenium testing the Lightning Experience

I'm new to SalesForce and trying to use Selenium to test a page. When I check the "innerHTML" of a certain div (as selenium sees it), I see the following: <div class="test-id" data-aura-rendered-...
1
vote
1answer
125 views

.Net application to run Apex TC through tfs build system

I am currently automating a salesforce application using selenium and apex TC. We use the salesforce Soap api and enterprise wsdl for our DML and SOQL updates, queries, etc. We are also using the ...
2
votes
1answer
210 views

Is there a webdriver for Apex?

A client has scheduled jobs that use the Selenium webdriver running on a desktop machine that, at scheduled intervals, screen scrape a number of websites (requiring login information) for data which ...
0
votes
2answers
948 views

drop down automate xpath clarification using selenium webdriver [closed]

Application developed in salesforce and below is the code for an dropdown box, all the items in the drop down they build with <li> tag, but i dont know how to pick a particular item with this ...
3
votes
2answers
361 views

Salesforce selenium testing

My testing team is using selenium to automate salesforce testing,in the process, they reference the Id's of text boxe's or drop down boxes in the automation script,this works well and good for ...
3
votes
1answer
1k views

Automating Salesforce Console - Selenium ?

I'm just trying to figure out if anyone has successfully completed this. From what I'm seeing id's are randomly generated and not static for each test run. Causing issues identifying iframes on the ...
2
votes
6answers
6k views

Is there any way around Verification Code ? I am using Selenium and Java to Automate Test

I would like to know if there is any way around the Verification Code for Salesforce? I successfully login to Salesforce but, my script stops because of the Verification screen is there a way around ...
5
votes
5answers
4k views

Selenium Testing - Two Factor Authentication Problems

First time trying the forum, but today having trouble running selenium scripts with Salesforce. Everytime Im running a script locally I get a two step verification screen. I then have to input the ...
8
votes
4answers
3k views

UI-testing Salesforce apps with Selenium

Some aspects of our Salesforce apps can only be poorly tested or not tested at all with Apex Unit tests. Therefore we are currently investigating Java-based Selenium UI-tests. Question 1: Are you ...
2
votes
1answer
1k views

REST Call from Selenium with session ID is invalid

I am trying to make REST call with Apache's HTTPClient. I would like to update a record after a selenium Test. Cookie sessionId = driver.manage().getCookieNamed("sid"); PostMethod request = new ...
3
votes
2answers
801 views

Are Force.com DOM id-elements worthless for Selenium Testing?

I just started with Saleforce/Force.com development. I set up a couple of Selenium tests last week, but they crashed today, since Salesforce upgraded to Version Winter '14 on my Dev Sandbox. My ...
2
votes
2answers
475 views

Does any one configured jenkins & selenium for CI in force.com

Are there any tutorials for config jenkins which fires selenium to run tests.