Salesforce Application Test Automation

If you've ever tried using Selenium to automate the testing of a Salesforce application, you probably know how tricky it is.

Selenium β€” . Salesforce -, DOM , iframe.

Salesforce !

, : Salesforce.

, , , , Salesforce .

, , .

Salesforce .

gino1, gabagool5.

- . .

?

, , .

, iframe.

iframe

iframe ( ) HTML-, HTML-.

iframe - , :

iframe , Selenium , .

.

Selenium iframe switchTo().frame.

//Store the web element
WebElement iframe = driver.findElement(By.cssSelector("#modal>iframe"));

//Switch to the frame
driver.switchTo().frame(iframe);

//Now we can click the button
driver.findElement(By.tagName("button")).click();

, , , .

iframe -,  β€” DOM.

DOM

- DOM.

, DOM DOM-, , , Β« Β».

HTML-.

Selenium HTML- DOM.

, DOM Selenium , JavascriptExecutor, .

, , shadow-automation-selenium.

, . POM- Maven .

.

, , .

, .

?

 β€” TestProject.

Salesforce TestProject

(Eldar Kravetsky), TestProject, , Salesforce . TestProject , Salesforce, , , .

, Salesforce TestProject, , codeless-, SAP, ServiceNow .

, Selenium TestProject, .

, , .

, TestProject , Salesforce?

TestProject iframe?

Selenium .

iframe, , .

TestProject .

, iframe. iframe, .

, .

TestProject Selenium Appium, API Selenium .

-, flaky-, , , .

, : - .

, , - , iframe.

, , - .

TestProject DOM?

TestProject DOM, Salesforce .

DOM ,  β€” . , , .

TestProject .

TestProject DOM  β€” .

TestProject ?

TestProject , , . Salesforce.

Salesforce, , . , , .

, . .

, . .

!

TestProject?

, .

, . , , , .

, , .

, , , .

TestProject , , Salesforce, , DOM, .

.


, , :

- Python QA Engineer

- Java QA Engineer

- Game QA Engineer

- QA Engineer ( )





All Articles