QTP

Can I invoke QTP test suits automatically from Maven/Hudson?

情到浓时终转凉″ 提交于 2019-12-01 06:39:11
问题 We need to integrate QTP with Hudson to automatically invoke test suites against the code deployed in Hudson. The build process is based on Maven. Is there any plugin or something to achieve this? We heard about the Groovy plugin for Hudson; Can we execute it with a Groovy script? 回答1: Hudson does not run tests, it takes the output and generates a nice report. You should look at how to make Maven run the tests, and then have Hudson pick up the output to generate a report. 回答2: As Michael says

Can we automate Application available under Citrix Program Neighbourhood?

寵の児 提交于 2019-12-01 05:58:59
I tried to automate an application available under Citrixl Program Neightbourhood using QTP 9.5, but QTP does not identify the objects inside the application. Can we automate citrix application using QTP? What are different tools available to perform automation testing on Citrix applications? I have used Scapa Technologies for Citrix ICA or Terminal Services testing. Scapa provides an automation tool that is installed on the Citrix server. Then it has a controller that launches the citrix session, communicates with the server and starts the automation tool which calls your automation script.

How can I get the run result status according to the current report node?

喜你入骨 提交于 2019-12-01 05:11:50
For example, suppose a test calls two actions, A and B. A performs a "failed" step by calling "Reporter.ReportEvent micFail, ... ", and B performs a "passed" step by calling "Reporter.ReportEvent micpass, ... " Reporter.RunStatus returns micFail as soon as the failed step has been performed in A. So even in B, with B´s status being completely "green", there is no way to tell that in the "B" branch, there is no "failed" step present. The test run status reported by Reporter.RunStatus " is micFail from then on. So how can I get the current "branch"´s run status? I think what I am looking for is

Can we automate Application available under Citrix Program Neighbourhood?

喜你入骨 提交于 2019-12-01 03:15:48
问题 I tried to automate an application available under Citrixl Program Neightbourhood using QTP 9.5, but QTP does not identify the objects inside the application. Can we automate citrix application using QTP? What are different tools available to perform automation testing on Citrix applications? 回答1: I have used Scapa Technologies for Citrix ICA or Terminal Services testing. Scapa provides an automation tool that is installed on the Citrix server. Then it has a controller that launches the

How can I get the run result status according to the current report node?

时光毁灭记忆、已成空白 提交于 2019-12-01 02:09:40
问题 For example, suppose a test calls two actions, A and B. A performs a "failed" step by calling "Reporter.ReportEvent micFail, ... ", and B performs a "passed" step by calling "Reporter.ReportEvent micpass, ... " Reporter.RunStatus returns micFail as soon as the failed step has been performed in A. So even in B, with B´s status being completely "green", there is no way to tell that in the "B" branch, there is no "failed" step present. The test run status reported by Reporter.RunStatus " is

Why only the latest function is called, if the function name are same in UFT 12.02?

北慕城南 提交于 2019-12-01 00:53:46
I am using UFT 12.02. In the function library I have a function as ReportEvent(Status, TestStep, ExpectedResult, ActualResult, OptionalLink) and another function with the same name as ReportEvent(TestStep, ExpectedResult, ActualResult) . when I call the ReportEvent function in my script it calls the function that mentioned at the highest LOC of the two i.e. the last one to be written. it doesn't stop my work but my curiosity got better of me and I thought may be y'all might be able to help. okay I found an answer to this, swiftly hopefully - it is based on the check rules of vbscript, which in

Execution of QTP scripts on remote machines

青春壹個敷衍的年華 提交于 2019-12-01 00:20:42
I am posting this question regarding the execution of QTP scripts on remote machine. When i log in to my remote machine via "mstsc", and execute the script without closing the remote desktop connection, it works fine. But once i close/minimize the remote desktop window, it starts throwing error ( like Object not visible" error. One of the places where it generally throws error is while clicking on the file menu in IE, as shown below :- Browser(" page name -").WinToolbar("ToolbarWindow32").Press "&File" Are there any workarounds to resolve the same?? Most of the QTP scripts take lot of time to

EmbedScriptFromFile & RunScriptFromFile - QTP/UFT

ぃ、小莉子 提交于 2019-11-30 23:09:08
Please help me in using EmbedScriptFromFile & RunScriptFromFile for executing JS file in QTP/UFT. I'm trying to fetch N number of values using JS file, and receive the same in QTP/UFT in an array. For which, I have got to know about EmbedScriptFromFile & RunScriptFromFile in QTP/UFT help section. But when I've tried to use the sample code, I couldn't make it as expected. Please help me in this issue Java Script code I'm using: function cloneArray(arr) { var ret = []; for (var i = 0; i < arr.length; ++i) ret.push(arr[i]); return ret; } VB Script, I'm using: Browser("Home").Page("Home")

Sorting String with Numbers using VB Script

不想你离开。 提交于 2019-11-30 19:46:10
问题 How to Sort String with Numeric values using VB Script? Below are my strings from each row from a table: "Test 1 pass dec 2" "Test 3 fail" "Test 2 pass jun 4" "Verified" "Test 10 pass" "User Accepted" I would to like get in below order after sorting(natural order): "Test 1 pass dec 2" "Test 2 pass jun 4" "Test 3 fail" "Test 10 pass" "User Accepted" "Verified" Ways i have tried so far, Set oAlist=CreateObject("System.Collections.ArrayList") oAlist.sort The ArrayList was sorted in below order

Why only the latest function is called, if the function name are same in UFT 12.02?

三世轮回 提交于 2019-11-30 19:14:28
问题 I am using UFT 12.02. In the function library I have a function as ReportEvent(Status, TestStep, ExpectedResult, ActualResult, OptionalLink) and another function with the same name as ReportEvent(TestStep, ExpectedResult, ActualResult) . when I call the ReportEvent function in my script it calls the function that mentioned at the highest LOC of the two i.e. the last one to be written. it doesn't stop my work but my curiosity got better of me and I thought may be y'all might be able to help.