Category : automated-tests

I’m working in test automation using Appium. This will run on a Windows machine, and we’re using python to drive Appium. I’m able to find the main window for the application that I’m automating using: ApplicationWindow = self.driver.find_element_by_xpath("//Pane[@ClassName=’wcl_manager1′]") Then I need to search that ApplicationWindow for the button I need to press. I only know ..

Read more

I have the following code with rapidcheck: namespace rc { template<> struct Arbitrary<Point> { static Gen<Point> arbitrary() { return gen::build<Point>( gen::set(&Point::x), gen::set(&Point::y), gen::set(&Point::z)); } }; void showValue(const Point &point, std::ostream &os) { os << "(" << point.x << ", " << point.y << "," << point.z << ")" << std::endl; } void showValue(const std::vector<Point> &points, ..

Read more