Salesforce QA engineer interviews test automation frameworks, test strategy, CI integration, performance testing, and debugging complex multi-service systems.
No verified questions yet for Salesforce.
def run_tests_in_parallel(tests: List[str]) -> List[Result]: takes a list of test names and runs them concurrently, returning their results.Example 1:tests = ['test_login', 'test_checkout', 'test_dashboard'][Result(success=True), Result(success=False), Result(success=True)]tests will contain between 1 and 100 test names, each string not exceeding 30 characters.class LoginPage: represents the login page.def enter_username(username: str) -> None:: inputs the username into the provided field.def enter_password(password: str) -> None:: inputs the password into the provided field.def click_login() -> None:: submits the login form.Example 1:username = 'admin', password = 'password123'Noneusername and password should be strings limited to 20 characters each.class LoadTestOrchestrator:def start_load_test(endpoint: str, load: int) -> None:: initiates a load test on the given endpoint with the specified load.def get_results(endpoint: str) -> List[Metric]: returns the performance metrics after the test completes.Example 1:start_load_test('/api/v1/users', 100) followed by get_results('/api/v1/users')[Metric(response_time=150, success_rate=95)]endpoint can be any valid string up to 100 characters.load is between 1 and 10,000 users.class FlakyTestDetector:def add_result(test_name: str, result: bool) -> None:: records the result of a single test execution.def is_flaky(test_name: str) -> bool:: returns whether a test is considered flaky based on its results.Example 1:add_result('test_login', True) followed by add_result('test_login', False) followed by is_flaky('test_login')Truetest_name can be any string up to 50 characters.Sign up for free to access walkthroughs, AI-generated questions, and more.
Get Started Free