Contributions
Re: ReadyAPI 2.2.0 GUI
I should have put this in my original post. I'm on Windows 10. I did change the scaling on the machine to 250% from 200% and that made it slightly better, but it's still not optimal Changing the fonts and sizes in ReadyAPI didn't seem to do anything7 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.5KViews0likes0CommentsReadyAPI 2.2.0 GUI
I am evaluating ReadyAPI 2.2.0 and it is doingeverything that I need it to, but the GUI is borderline unreadable. All of the type is very small and lists do not show correctly (i.e.list items are not big enough to show the complete item) I am on a Dell XPS with HD monitors and display settings set at 3840 x 2160. I have enclosed a screenshot This is a show stopper for me as I need to be able to read my screen Thanks in advance Mike Kiewicz1.6KViews0likes2CommentsRe: Run Browsers in Parallel
The way I've always done it (and this is through code) is that you get an array of all running chrome processes and get the window handles before opening the new window. Open window, get handles, and compare to the list taken before opening the window. Odd handle out is the new window. Rinse, repeat for the second window. You can then switch between the two windows using their handles and the switchTo(<handle>) function that comes with WebDriver2.4KViews0likes2CommentsRe: Run Browsers in Parallel
And the second window is opening to the browser home page, where as the original window is in the application at the time that the Cntrl-N keypress is sent. The second window, if you spy it, even shows as BrowserWindow(1), but all action in it happen in the first window. And even though the second window shows as BrowserWindow(1), the other attributes are the same as the first window Selenium accomplishes this through handles. Can TC do it this way, too?2.5KViews0likes4CommentsRe: Run Browsers in Parallel
And the second window is opening to the browser home page, whereas the original window is in the application at the time that the Cntrl-N keypress is sent so the URLs are different. The second window, if you spy it, even shows as BrowserWindow(1), but all actions in it happen in the first window. It's as if the second window doesn't exist. And even though the second window shows as BrowserWindow(1), the other attributes are the same as the first window Selenium accomplishes this through handles. Can TC do it this way, too?2.4KViews0likes0CommentsRun Browsers in Parallel
We need to be able to run two browsers in parallel up to a certain point and take a screenshot to test functionality of two users in the same space as how our application would react when that situation presents itself. Is this possible? I'm able to open up a second window in Chrome by sending a <cntrl-N> keypress to the first window. I can't seem to assign the second window to an object to act on it. though Thanks in advance!!Solved2.5KViews0likes8Comments- 1.5KViews0likes0Comments
Re: More Efficient Searches
Trying to take a step by step process implementing this, so it looks a little different Here my code for this so far: //results card cardObject = page.Page.FindChildByXPath( '*//sts-task-search-results-list'); function findMyText(cardObject, numPages, schTextColumn, schText, isOffset, offsetColumn, txtSchOffset) { var tableContent, textFound; while(!textFound) { tableContent = cardObject.FindAllChildren('contentText', schText); if (tableContent.Exists) { textFound = true; return tableContent; } } } Any reason why I would be getting the following error?1.5KViews0likes2CommentsRe: More Efficient Searches
I thought about that but it doesn't lessen the number of times a page gets loaded. I came from a Selenium shop and typically using Selenium you would grab the object you wanted to search across (e.g. a table) and just use that.... do { IWebElement schTable = driver.FindElement(By.Id("tableId")); ReadOnlyCollection<IWebElement > searchedItems=schTable.FindElements(By.Id("searchItem_Id")); for each (IWebElement item in searchedItems) { //search for what you are looking for and return result if found } if (item found) { //set item fund and leave loop } else { //click next page of results } while(item not found || EOF last page of results) This way I'm working off of one grab of the table and traversing the table. The way I have it set up in TestComplete is as follows resultCount = page.Page.EvaluateXPath(<M'Results Item Tag Identifier'>).length //scroll through this page of resu;lts for (i=0; i < resultCount; i++) { idx = i + 1; xpathToEval = FunctionalClasses.getOffsetXPath(schTextColumn, i + 1); evalObject = page.Page.FindChildByXPath(xpathToEval); thsText = evalObject.contentText; //search for what you are looking for and return result if found. If not go to next page get new object and continue } This is requiring the whole page DOM to be queried by the xpath expression every time through the loop because EvaluateXPath and FindChildByXpath can only be used against page objects. It's taking 3 - 5 seconds to traverse seven results / page. when there are a lot of pages of result to scroll through this can become tedious It could also be that I'm not doing this right. If there's a better way, I'd love to hear about it Thanks!!!1.5KViews0likes6Comments