示例#1
0
 public static IE_UnitTest open_ASync(this IE_UnitTest tbot, string virtualPath)
 {
     O2Thread.mtaThread(() => tbot.open_Page(virtualPath));
     return(tbot);
 }
示例#2
0
 public static IE_UnitTest open_Page(this IE_UnitTest tbot, string virtualPath)
 {
     tbot.ie.open(tbot.fullPath(virtualPath));
     return(tbot);
 }
示例#3
0
 public static string fullPath(this IE_UnitTest tbot, string virtualPath)
 {
     return(tbot.TargetServer.uri().append(virtualPath).str());
 }
示例#4
0
 public static IE_UnitTest open(this IE_UnitTest ieUnitTest, string virtualPath)     // can't use generics here in order to have simpler method calls: tbot.open("....");  vs tbot.open<API_IE_TBot>("...");
 {
     return(ieUnitTest.open_Page(virtualPath));
 }