Contributions
Re: Working from home? How is it?
I would love to be writing automation from home right now. Unfortunately, right at the outset of the pandemic, my company terminated 33 employees, myself included. I was really getting the hang of TestComplete. In the six months I was with them I developed about 150 automation scripts for both the desktop and the web-based applications used by our banking clients. I have been looking for QA Analyst/Engineer positions with local companies but haven't found any that utilize TestComplete. If there are any employers out there that want to hire me to code TestComplete scripts remotely I'm available. Send me a link where I can apply. I can work on a contract basis if necessary. My resume is attached. David Hundley2KViews0likes0CommentsRe: iexplore main window not found and RPC server unavailable
I changed my Browser check routine to the following (incorporating the suggestions from both@BenoitBandtristaanogre). The result can be seen in the attached image. IE starts right up now AND (i'm guessing the two issues must have been related somehow because) I have not see the RPC error the last two or three time I have executed the project suite. SWEEEEET! I gave kudos to both but acceptedtristaanogreas the solution. I initially just triedBenoitBsuggestion which helped but it seemed to be even better once I added the Terminate specifically for IE. Thanks for your help1.8KViews1like0Commentsiexplore main window not found and RPC server unavailable
This post is actually about two issues. I doubt the second one has anything to do with TestComplete but thought someone here might have seen it and be able to comment on it and both appear in the image of the log snapshot I've attached. the first issue has to do with the Sys.WaitBrowser statement. I am testing my web functionality with four separate browsers (iexplore, firefox, chrome and edge). at the start of each test iteration, i pass the string value of the browser being tested into a script that ensures a copy of that browser is not already active and closes it if it is. i've ensured that no browser was running when i started the test that produced the attached log. Note the Time Diff (sec) column of the log when checking "iexplore" and when checking "firefox". Why does it take a full minute for TestComplete to realize that there's not an IE browser running and less that 5 seconds to do the same task for firefox? Below is the vbscript code that both checks are using. As you can see i"ve tried to shorten any check to 2 seconds both in the Options.Run.Timeout and in the Timeout parameter of the Sys.WaitBrowser method but it still takes a minute. I've noticed the same delay with edge but not with chrome. Sub BrowserCheck(browser) Log.Message "Browser = " + browser Options.Run.Timeout = 2000 If Sys.WaitBrowser(browser, 2000).Exists Then Sys.Browser(browser).Close End If End Sub The second issue is the RPC Server unavailable. I found this article online https://helpdeskgeek.com/help-desk/how-to-fix-rpc-server-is-unavailable-error-in-windows/ and went through everything it suggested but everything it mentioned (services, Network, registry settings) was already set up correctly on my workstation. The project suite i was running when i took the snapshot of the attached log was running four keyword tests. The first ran through all four browsers successfully. The image is of the second keyword test in the project. It completed the IE iteration of the test but got the RPC server error on Firefox. Once the RPC error started all the tests following that falied on Internet Explorer with the same error. As i said, I'm fairly certain this has nothing specifically to do with TestComplete but just though maybe someone out there has had to deal with this. Thanks!Solved1.9KViews0likes3CommentsRe: web table checkpoints
I've never actually figured out a way to simply create a checkpoint for a web table so I've reached the conclusion that I must simply trudge through in record mode and select every individual table cell as a property checkpoint. Fortunately, so far, there's only been one or two really large tables. If I every find something simpler, I'll let you know but, for now, this is what i'm going with.2.2KViews1like0CommentsRe: A Tale Of Two Slaves
I turned this over to a colleague of mine and he seems to have it working by 1. Eliminating the network suite of the project we had set up as sort of a central "traffic cop" for defining jobs and tasks and just running the project suites themselves individually 2. Using the CopyProjectToSlave method rather than having the files already on the slave machine. I'm not sure if it's one or the other or a combination of both but it also seems to have resolved the issue i brought up in a different post about he double clicks (DblClick) not working.3.8KViews1like0CommentsRe: web table checkpoints
attached is an image showing how the tables are marked up. it's the table in the yellow highlighted box that I'm attempting to parse, however, I was not able to use the table checkpoint on either that one or on the table highlighted in blue at the bottom. both gave me the same error. I pasted the code shown below (copied from the "Parsing HTML Tables" topic in the TestComplete Help screeens) into my script and it diplayed the values of all three rows in that table in the log. However, not only would i need to have a solution that works for the yellow highlighted table, i would need it to record the existing values so that they can be checked during playback. Note: before posting this i went back and double checked the HTML for the entire page. Even though the second table is at the same depth as the first <div> shown in the image, it too is nested within two more <div> tags and all are inside a <form> tag which is inside a <body> tag. So I believe it squarely fits within your description of the "tables nowadays are emulated as a set of divs and other web elements that together look like the table on the rendered page". So where does that leave me? Dim page, table Set page = Sys.Browser("*").Page("*") Set table = page.FindChild("tagName", "table", 10) If table.Exists Then ' Goes through the rows and cells of the table For i = 0 To table.rows.length - 1 Log.AppendFolder("Row " & i) For j = 0 To table.rows.item(i).cells.length - 1 Log.Message("Cell " & j & ": " & table.rows.item(i).cells.item(j).innerText) Next Log.PopLogFolder Next Else Log.Warning("The table was not found") End If2.3KViews0likes1CommentRe: web table checkpoints
I actually tried that before I created the post. the result was the "unable to retrieve table data for the checkpoint" error as shown in the attached image. I went through several TestComplete help screens such as "Parsing HTML Tables" and found some sample code that did parse through a very small table below the table I'm working on and I even found a link you provided in a post from 08-05-2011 about Web Table Checkpoints but I was unable to find the blog article referenced by the link (http://blog.smartbear.com/post/10-09-10/new-testcomplete-html-table-checkpoint-%e2%80%93-simplify-cr...). The table I'm dealing (from the image in my first post) is nested inside three <div> levels. The little table at the bottom that it did find was not inside any other tags. Not sure if that's help info or not but thought i'd throw it in there anyway.2.3KViews0likes3Commentsweb table checkpoints
Up to this point I have been using TestComplete to test our desktop application. Now I am working on our Online/web based product. with the desktop testing there was a TableCheckpoint operation that i could drag and drop into the keyword test, select a cell and, voila, a check for all table cell values created. How do i accomplish the same thing for a table on a web page such as the one in the attached image? Thanks!Solved2.3KViews0likes5CommentsRe: A Tale Of Two Slaves
I'm happy to announce that I currently have two individual projects running simultaneously and initiated via the Network Suite of my master/control project. However, I've also noticed now that on the slave that is still running TestExecute I am seeing an error in the log that it still cannot find the UserID textbox BUT when the wait for finding it has expired and it switches to looking for the password text box, it immediately puts the UserID in the UserID textbox and the Password into the password textbox and starts clicking the login and main menu buttons (see attached image showing the error followed by the two text field entries). What's causing that??? Then there's still the question of why did it take running TestComplete on the other slave to get this to work at all? Also, I'm pretty sure I took all the steps suggested by Marsha_R for getting rid of the MS Store app but it still popped up on the slave host running test execute. I will double check once my currently running test completes to make sure I did everything. It will be interesting to see if the slave host running TestComplete is able to process the double click actions that i reported in a separat post. I know for certain they fail when being run on TestExecute but the current test will have some double clicks on the TestComplete slave by the time it finishes. I'll keep you posted.2.1KViews1like2Comments