Does UFT12.01/ALM11 not support QCUtil.CurrentTestSetTest.ID? - hp-uft

I use UFT 12.01 and ALM 11.
I ran a line msgbox QCUtil.CurrentTestSetTest.ID but UFT gave an error stating Object required.
How do i get the TestSetTest ID?
Thanks in advance

It should work.
MsgBox QCUtil.CurrentTestSetTest.ID
shows the current ID (UFT 12.01, ALM 12.01) . If I use a different test set for execution, it shows a different ID, so i guess it is the correct ID.
Maybe you are not connected, or the test is not in stored in QC/ALM?

Related

"Restore operation failed due to invalid parameters or format of the parameters is not correct" from Restores.TriggerAsync

I am using Microsoft.Azure.Management.RecoveryServices.Backup 4.0.1 to restore Azure VM in C#, I received an error on Restores.TriggerAsync:
"Restore operation failed due to invalid parameters or format of the parameters is not correct"
I tried to find the documentation on how to set the parameters with RestoreRequestResource, I couldn't find anything. Can someone using Microsoft.Azure.Management.RecoveryServices.Backup, help me? Thank you.
After trial and error for a few days, finally I resolved the issue. For Restores.TriggerAsync API call, the paramter's Properites needs to be set to an IaasVMRestoreRequest instance, which will become the REST API call body.

getEventArgs().getSaveMode() returns Undefined for Disqualify the Lead

I have been working with dynamics 365 v9.0 and facing the issue to get the required saveMode on Lead disqualification.
Please refer below link:
https://learn.microsoft.com/en-us/dynamics365/customer-engagement/developer/clientapi/reference/save-event-arguments/getsavemode
As per the above link getEventArgs().getSaveMode() should returns 15 for disqualify. In version 8.2 I'm getting the 15 for disqualify as I should but in V9.0 It returns Undefined. Please refer below screenshot:
IMAGE
Does anybody help me on this problem?
Your suggestions would be much appreciated
This worked for me.
I checked off "Pass execution context as first parameter" in Handler Properties window, then pass 'executionContextObj' as the first parameter in handler such as onLoad(executionContextObj), onChange(executionContextObj), onSave(executionContextObj).

Xcode cannot connect to member center

When I want to connect my developer account in xCode 6, I receive this message : "An error occurred while communicating with the member center."
Someone know what is the problem ? Someone can help me ? Thanks !
It might also be that there's a maintenance going on and the server is temporarily down. There's a system status website for developers indicating scheduled maintenances and temporary downtimes. Also check the Apple Developer Member Center website for this:
Then just sit back and brew yourself some hot cocoa.
I got the same message. In my case, my firstname (Björn) has an special character 'ö'. I changed it in my apple id profile to Bjoern and then it worked and i cloud submit to app store.
This is happening with accounts that have any special character like "í" or "ç" in their name. If you edit your Apple ID and remove any special characters it will work.
I hope this gets fixed before the official release.
This is a known issue that is being investigated - thank you for your bug reports. The issue is not in Xcode itself, but rather in services that it communicates with, so it cannot be addressed by an update to Xcode. -- Apple Support
I received this error because I had 3 appleID's in the account panel.
2 of them were old expired appleID's.
I removed them to keep only my active appleID.
And then the connection was succesful
Hope this will help

Websphere Commerce Checkout Flow with Jmeter

I'm having problems with the simulation of the checkout flow with Jmeter. I believe there is a problem with the session management. I have already added a cookie manager in order to use the wcs cookies trough my testing plan. Has anybody ever done this? Please help me.
I also checked the SystemOut.log, and i found this exceptions(I don't have the exact text but it's similar to:
The user #### does not have the authority to run this command
or
The user does not have the authority to run this command
This happens with OrderItemUpdateCmd and OrderProcessCmd.
Please help me, thanks in advace.
Sometime this error occurs if we haven't run the acpload after adding new controller commands. Are you getting this error with the Out of Box WCS commands or the new controller commands added.

AJAX not getting invoked through QTP

I am working on QTP 11. I my current project I am trying to automate a website with AJAX fields. I my project I have a text field on which if we try to enter characters then AJAX table appears and we have select a suitable value from the below table. I am able to check the existence of AJAX table.
The problem is to set the text field through QTP, AJAX is not getting invoked. But manually it is working properly. Also, if I first try manually and then I try to enter any through the script, then also it is working properly. It is not possible for me to check each field manually then enter it through script. So can any body tell how AJAX can be invoked on first try without any manual intervention?
I have tried to Set property, Keyboard events like WScript.shell, Mercury.DeviceReplay and AutoIt, however none of them are working. Are there any keyboard input methods that I have missed out?
Can somebody please help me out?
Try performing a WebEdit.Click on the text field in question. If this doesn't work it means that the web page is expecting some events that QTP didn't fire in this case you should change to device replay mode
Setting.WebPackage("ReplayType") = 2
Browser(...).Page(...).WebEdit(...).Click
Setting.WebPackage("ReplayType") = 1
I had the same issue, not recognizing the web list (not selecting the item from list). Using QTP 11.5 loaded with web toolkit 2.0, ASPAjax, DOJO, JQuery add-ins. Still showing the same behavior.
However there is nothing wrong with the code, if I give some wait the code is working OK.

Resources