Questions tagged [test-automation]

The tag has no usage guidance.

16 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
1answer
842 views

Is it impossible to automate testing on the Lightning interface?

To be more specific, I'm studying a use case where an automation would be preferable instead of just passing it to a user (for QA an acceptance). On the Lightning Experience interface, however, I've ...
4
votes
0answers
1k 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-...
2
votes
0answers
43 views

UNABLE_TO_LOCK_ROW error while running salesforce apex test on circleci

I'm getting UNABLE_TO_LOCK_ROW while running the apex test on CircleCI How can I avoid the deadlock while running tests?This is due to parallel execution of test(Not sure about this). Do We have ...
2
votes
0answers
25 views

Any way to re-enable first time login screen?

Doing some automation testing, and wondering if there is any way to re-enable the screen that shows up the first time a user logs into a sandbox asking you to register your phone number or click 'I ...
1
vote
0answers
30 views

Not able to find elements of a sfdc login screen using UIautomater

We have created native Android mobile App using 'com.salesforce.mobilesdk:SalesforceSDK:8.+' mobile sdk for the login functionality in the app. We use the Community url for login. We are trying to ...
1
vote
0answers
76 views

CircleCI, re-run tests that failed in parallel mode during build

note: I'm stuck in an org-centric world, so CircleCI is setup w/my dev sandbox, not scratch orgs. Recently, I set up a CircleCI build to run my sandbox orgs tests w/RunLocalTests on each pull request. ...
1
vote
0answers
213 views

Lighting web component UI testing with robotframework-selenium: Not able to interact with LWC element

I am trying to automate a page with LWC, But due to shadow DOM, I am able to interact with element. Is there a way where we can interact with the element.
1
vote
0answers
29 views

Salesforce Lightning WebPage Rendering

Im a Test Automation Engineer. I was analyzing an application built using Salesforce Lightning. I tried to identify an element (Image) in DOM using a tool. I observed that the tool identified the DOM ...
0
votes
0answers
33 views

Regression Test Issue with DML operation

I have a task to write a regression test in apex. So there are 2 objects call Project task Line Item Entry and Project Task Line Item. In there if i insert a new record to Project Task Line Item Entry ...
0
votes
0answers
32 views

Testing queueable method which relies on jobId

I've updated my code to do some logic along these lines if no job has been created, create a job using System.enqueueJob(QC) and store it's job id. take a bunch of data and store it in a custom ...
0
votes
1answer
81 views

Getting Malformed Query error when hitting SOSL using Rest Assured

I have a requirement to fetch query results of a SOSL query using REST API. Even after encoding the SOSL search I keep on getting Malformed Query error. I am so far unable to find a reason to it. This ...
0
votes
0answers
30 views

What is the mechanism Lightning uses to avoid loading tabs in background?

I'm working on UI test automation and noticed Lightning avoids loading tabs in background. You can test yourself - cmd + click on some records and wait - then open new tab and it's only then ...
0
votes
0answers
33 views

Possible to keep (or equivalent of) a public static variable across test classes in an async test run?

I have test methods I want to use from test class A in test class B, in an async test run if test A runs before Test B I don't want to invoke the test A methods in test B because they already ran and ...
0
votes
1answer
112 views

Can Performance Testing possible in a Partial Copy sandbox?

Salesforce suggests Performance Testing only in Full Copy sandbox. Is there any reason why it cant be done in a Partial Copy sandbox?
0
votes
1answer
426 views

Sender score and side effects releated to mailinator.com or maildrop.cc

I have looked around, however, I can't find accurate information if the Sender Score could be affected if I send hundreds of transactional emails daily to mailinator.com or maildrop.cc or any spam ...
-2
votes
1answer
4k views

Constructor not defined error in batch class

I am testing the scheduled batch class in salesforce, during which i am getting the below error : " Error: Compile Error: Constructor not defined: [LicenseOptimizer_BatchClass].(String) at line ...