exploreScreenInstance.exploreList.launchScreen(exploreHandle, "exploreList", "site_Screen") # Get the Instance of the screen screenInstance = SitePageClass(setup.d) # Get the handles of the screen siteScreenHandle = getHandle(setup, "site_Screen") # Set the Index value at 2 screenInstance.btv.setSelection(2, siteScreenHandle) # Drill to the Site Interaction Screen drilltoScreen(setup.d, setup.dH, Constants.VRF) screenInstance = VrfPageClass(setup.d) VRFScreenHandle = getHandle(setup, Constants.VRF) while t < timeIteration: i = 0 setTimeRange(setup, quicklinks[t]) # while loop is to iterate over all the measure while i < measureIteration: print i screenInstance.measure.doSelection(VRFScreenHandle, measures[i]) # testcase body starts # Get the Instance of the screen VRFScreenHandle = getHandle(setup, Constants.VRF) #validate=HelperUtility()
# Get the handles of the screenx siteScreenHandle = getHandle(setup,"site_Screen") # Get the default selection #defSelection = screenInstance.btv.getSelection(siteScreenHandle) # Validating the result #checkEqualAssert(str(1),str(defSelection['selIndex']),"","") # Set the bar Table view to the 2 index screenInstance.btv.setSelection(2,siteScreenHandle) drilltoScreen(setup.d,setup.dH,Constants.VRF) vrfscreeinstancen = VrfPageClass(setup.d) vrfScreenHandle = getHandle(setup,Constants.VRF) # while loop is to iterate over all the quicklinks while t < timeIteration: i=0 setTimeRange(setup,quicklinks[t]) # while loop is to iterate over all the measure while i < measureIteration: status = screenInstance.measure.doSelection(vrfScreenHandle, measures[i]) setMeasure(setup,measures[i],Constants.VRF) checkEqualAssert("True", str(status), quicklinks[t], measures[i], "Measure selection") i+=1 # end of measureSelection