Exemplo n.º 1
0
 /// <summary>
 /// Creates a new ApplicationUnderTest  folder.
 /// </summary>
 public ApplicationUnderTestAppFolder(RepoGenBaseFolder parentFolder) :
     base("ApplicationUnderTest", "/form[@processname='RxDemoApp']", parentFolder, 30000, null, true, "3802c67d-8984-4e7d-8459-836d46df639f", "")
 {
     _lblwelcomemessageInfo    = new RepoItemInfo(this, "LblWelcomeMessage", "?/?/tabpage[@controlname='RxTabIntroduction']/text[@controlname='lblWelcomeMessage']", 30000, null, "ad25e72b-b75b-4517-8156-41cfc563c874");
     _imagebasedautomationInfo = new ImageBasedAutomationInfoClass(this);
     _chkshowimageInfo         = new ChkShowImageInfoClass(this);
     _thecatInfo = new TheCatInfoClass(this);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Creates a new ApplicationUnderTest  folder.
 /// </summary>
 public ApplicationUnderTestAppFolder(RepoGenBaseFolder parentFolder) :
     base("ApplicationUnderTest", "/form[@processname='RxDemoApp']", parentFolder, 30000, null, true, "0c9ae9bd-05c0-4b86-9578-16bab511e54f", "")
 {
     _rxtabimagebased          = new TestAppRepositoryFolders.RxTabImageBasedFolder(this);
     _welcomemsgInfo           = new RepoItemInfo(this, "WelcomeMsg", ".//text[@controlname='lblWelcomeMessage' and @controltext~'^Welcome,.*!$']", 30000, null, "94e9a3ea-26ff-4873-8e26-3349fc60dc6b");
     _txboxnameInfo            = new RepoItemInfo(this, "TxBoxName", ".//text[@accessiblename='Enter your name']", 30000, null, "c9e1b16b-52b6-4afb-a708-5938fdc40fc1");
     _btnsubmitusernameInfo    = new RepoItemInfo(this, "BtnSubmitUserName", "?/?/tabpage[@controlname='RxTabIntroduction']/button[@controlname='btnSubmitUserName']", 30000, null, "cbffc97a-a9e1-47a3-b0cb-bc0d5562abab");
     _imagebasedautomationInfo = new ImageBasedAutomationInfoClass(this);
 }