使用Functional Tester 实现自动化框架[6] 软件测试
browser_htmlBrowser(document_edWiseStudentCalculat(),
DEFAULT_FLAGS).inputChars("Mike");
image_next2().click();
//Edwise - Calculate Budget
//Annual Income
callScript("scripts.annual_income_module");
//Education-Related Expenses
callScript("scripts.education_related_worksheet_module");
//Rent/Mortgage Worksheet
callScript("scripts.rent_mortgage_worksheet_module");
//Utilities Worksheet
callScript("scripts.utilities_worksheet_module");
//Food/Household Worksheet
callScript("scripts.food_household_worksheet_module");
//Student Loan Payment Worksheet
callScript("scripts.student_loan_payment_worksheet_module");
//Credit Card/Personal Loan Worksheet
callScript("scripts.credit_loans_worksheet_module");
//Transportation Costs Worksheet
callScript("scripts.transportation_costs_worksheet_module");
//Clothing Costs Worksheet
callScript("scripts.clothing_costs_worksheet_module");
//Additional Expenses Worksheet
callScript("scripts.additional_expenses_worksheet_module");
//Verify Total Annual Expenses
totalExpense_textVP().performTest(2.0, 20.0);
//Verify Summary amounts
summary_gridVP().performTest(2.0, 20.0);
文章来源于领测软件测试网 https://www.ltesting.net/