Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // nie znam frameworka white wiec totalna improwizacja, żeby tylko pokazać ideę
- public class DesktopWindow1
- {
- Window window1;
- public DesktopWindow1(White.Application application)
- {
- this.window1 = application.GetWindow("window1");
- }
- public void ClickButton1(){
- var button1 = window1.Get(SearchCriteria.ByText("button1"));
- button.CLick();
- }
- public string GetTextFromTextfield1(){
- var texfield = window1.Get(SearchCriteria.BySomething("asdasd"));
- return texfield.Text;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement