Leanft not identifying terminal emulator screen objects - automated-tests

I am trying to spy the mainframe screen from leanft, but it is not identifying the individual fields. It is just identifying the whole screen and in the object identification center, it is showing as Java.UiObject:Screen.
I have registered the application in leanft still it is not able to identify.
I have done the TE configurator settings as well and I am able to inspect another mainframe application without any issues.
But this specific application is not getting identified.
Below is the code generated from the Object identification center for this application.
Desktop.describe(Window.class, new WindowDescription.Builder()
.title("3 Host Session").build()).describe(UiObject.class, new UiObjectDescription.Builder()
.nativeClass("com.ibm.eNetwork.beans.HOD.accessibility.AccessibleScreenText").build());
Please let me know if you have any solution for this issue.
Thanks

This happens when either the TE configuration is not set or the add-in for the TE(terminal emulator) is not enabled. Follow the steps from below link to resolve the same:
https://admhelp.microfocus.com/uftdev/en/14.50-14.53/HelpCenter/Content/HowTo/TE_Addin_Overview.htm

Related

How to resolve a User for the first time(hasn't met before) on TestServer?

I'm just started to use Pyrogram to develop TG-Clients. for a starter, tried to pilot my scripts on [Test servers] to ensure things are fine. So created two user's account by the client-library itself (test numbers) then tried to run a sample workflow by interactions between those accounts, but seems there's no way to "meet" one with another (which is a precondition to be able to interact).
BTW:
Already tried to add_contact(), create_group(), send_message() to "self" including "target-account" mentioned in the message, but all of those considered as "interactions" and follow the same scheme (target User needed to exist in the .session local file to be able to interact with).
I gonna need a way to resolve User despite having that in the .session file (something like Search User by its id/phone/username)
Any suggestion would be appreciated.
P.S:
For what it worth, the "callback code" from TG-TestServers auth workflow, recently has changed from (Five-Times DC number to Six-Times) that needs to be corrected in the docs https://docs.pyrogram.org/topics/test-servers#test-numbers
Stay Safe All
PEACE V

Unable to create support case

Initially, I had created a case to report a problem with credentials assignment to Cloudant. But, after a few iterations with support, I am no longer able to view my own case via the link I get in the support e-mail.
I only get a message You do not have the right permissions to view cases.
So, I try to open a new case - but then I get You do not have the right permissions to open cases and a description telling me what to do.
Following the steps (Creating an access group for working with cases), I'm able to follow the first steps (From the menu bar, go to Manage > Access (IAM), select Access groups, and click Create), but at the Access Groups page, there is no Create button or any way to create a new access group.
So, I'm not even able to ask for support any more...
You can always open support cases via email to support#cloudant.com - if you provide your Cloudant account name (the one that ends with -bluemix) it’s easier for support to locate you.
You still have a -bluemix account - look at the URL when opening the Cloudant dashboard. Here’s an instance I just created using my internal IBM creds...
https://5217efab-4dcf-4ea0-a1c7-a0ea017a8ccd-bluemix.cloudant.com

Determine if page was loaded from history or from QR Code scan

Here's the situation. I am trying to implement a system in a restaurant where each table has its unique QR Code. The QR Code is fixed and hard printed on the table. My application is basically a web page and the QR Code is simply a web page address with an encrypted parameter which identifies the table.
This system is already protected (to a certain degree) from pranksters by only allowing orders to come from the IP address of the Wifi connection. So you need to be at least connected to the restaurant's wifi to use this page. Doesn't protect from people outside the building, but that is another issue.
The problem occurs if a user comes today and scans the code for table 3 and places an order. If the user comes later and sits at table 5, I don't know how to stop them from loading the previously scanned link (for table 3) and place an order for table 3.
Having constantly changing time stamped QR Codes would address the problem, but that is impossible since the QR codes are fixed.
Is there a way for the page to "know" that it has been loaded from a QR Code Scan, or whether it was loaded from the browsing history? We are talking about pages loaded on a smartphone, so I guess that complicates matters.
Any help or pointers would be greatly appreciated! :)
In short, no. There's usually no "refer" header which will tell you that a page has been loaded from a bookmark or retrieved from a scanner's history rather than scanned directly.
Having an ever changing QR code is not impossible (using eInk or a small display) but that doesn't solve the problem.
Here's how I would fix it.
User scans a code - example.com/table3 - the first thing they see is a map with table 3 highlighted on it.
Text says "If you're not at table 3, please scan the code on your table. If you are - click here to order." Or something like that.
Explain to the user that if they're not sitting at the correct table - someone else will get their food!

get request parameter from url in HP loadrunner

I am using HP loadrunner for my automatic tests.
Every time, when i run my application, it creates some transfer and also generates id in URL.
How can i get the id from URL?
Thanks in advance!
The web_reg_save_param function in LoadRunner is used for this. The following line will save the current page URL to the parameter (URL).
web_reg_save_param("URL", "LB/ic=Location: ", "RB=\r\n", "Search=Headers", LAST);
If you know what the ID is that your looking for, ie. http://www.example.com/?id=298374293847 you can adjust the call accordingly.
web_reg_save_param("URL", "LB/ic=Location: http://www.example.com/?id=", "RB=\r\n", "Search=Headers", LAST);
Hope this helps.
Recording with Siebel 8.1 on Loadrunner 11 having issues,posted a question on HP and got the same comment. But usually we can try the below mentioned option
You can record in Siebel-Web or web (http/html) and playback as
either too (if you want to record in Siebel-Web and play back in
regular web, just copy the contents of the script to a regular web
script and save).
Try a proxy mode recording in LR.
Changing registry and disables NTLM.
Turn off all autocorrelation rules
Turn on record as URL mode (as an alternate use web_custom_requests())
Use a sniffer to capture the traffic and then build a script by hand.(Best Option)
Change settings on the Siebel server side as well (Enable Automation=True, EnableWebClientAutomation = TRUE)
If you are recording your scripts using Web http/html you can use automatic correlation. For automatic correlation go to Design Studio
If you are unable to find the value there,then you must correlate manually using web_reg_save_param by giving the left and right boundaries.
This is going to sound belligerent, condescending and downright offensive. It is not to be meant as a reflection on you, but upon your management who has placed you in this position.
The topic of Correlation is one covered extensively in the class for LoadRunner web script development. It is the topic of a full 1/3 of the class and an additional appendix. All told some four different techniques for collecting dynamic data are covered, presented or documented as a part of the class materials. This capability, the handling of dynamic data, is a foundation tool skill.
Vardges, your management has placed you in a tough spot. Personally I would bolt for greener fields, for any management which is willing to do this to a line-of-business employee is also willing to toss that same person under the bus to salvage their own hide or a client relationship. Blaming you for something that management is unwilling to address is not a question of "if?" when training and mentoring does not occur, but only "when?" will the blame be placed on you.
James Pulley
Moderator: YahooGroups Advanced-LoadRunner, YahooGroups LoadRunner, SQAForums LoadRunner, LinkedIn LoadRunner, GoogleGroups lr-loadrunner

How close can you identify a user using asp.net and webservices

The task is simple, and the answers might be many.
But here goes: On my website I'll make an InfoAboutYou.aspx page. So far i got the IP and the browser name and version, but ill like to expand, with just about every thing i can look up about the curret user/ip and hes Browser/OS
Does it exists any free webservices that kan lookup more information about a specific IP?
The idea is to see how specific a random user can be pin pointet
Thank you
You can use various service to determine a geographic location.
One example is:-
http://www.ipgeo.com/
There are plenty of things that you can determine by using JavaScript and having it post back to the server like some of the stats that Google Analytics does. You can determine screen size, etc.

Resources