Compare 2 values on 2 different webpages using RFT - rft

How can I compare values based on another page, either using data pool values or get values from another page, in Rational Functional Tester using java?

Related

Create list of display fields and checkbox fields from a table column in Oracle Apex

I am trying to create a list of display fields and checkbox fields from a table column in Oracle Apex. For example, let's say I have a Table A. These are the values stored in A.
ID Health Conditions
-- -----------------
1 Heart Disease
2 High Blood Pressure
3 Diabetes
So now I want to display these 3 display fields associated with 3 checkboxes so the users can choose whether they have the above health conditions problems. If Table A has n values, then I can dynamically display n fields with n checkboxes. How can I do this?
The way I understood the problem, you should pre-populate table (which will contain info about those health conditions) and display the whole list as Interactive Grid (or Tabular Form, depending on Apex version you use).
It means that you'd store non-checked values as well (though, you could delete such rows on submit).
Alternatively, if you create an "empty" Interactive Grid page and let users add rows, and for each row select health condition they have, you'd store only selected values.
Yet another option is to create a page with shuttle item (or select list that allows multiple selections) so that user would select only desired values and store them. Drowback of such an approach is that all values are stored into the same column (read: it is not normalized) separated by colons. That's OK for selecting values, but causes problems later when you have to do something with it as you have to first split values into rows and then do that something.

SQL query to create a list of values to use in a drop down list

Relative newbie to SQL here and I need help writing a query.
We use an application that uses SAP Crystal reports as it's reporting tool. In the application users are able to select the run parameters for the report, and these parameters are then passed to the report and inserted into the SQL query used to create the report.
For some reports we want to let the users decide how they want to group the reports using 3 options (Account, Manager and Broker) rather than having 3 versions of the report.
To avoid typing errors, I would to provide the 3 options as a list, which would appear in a drop down. Is there a way to do this in a query without creating records in a table?
Thank you
Simply create a parameter and enter the 3 values in the list of default values.
Here is a link to a web page explaining the process step-by-step: https://www.rklesolutions.com/blog/crystal-reports-p4
Sounds like you simply need to populate a dropDown control with a list of static values. But you didn't mention your programming language. Assuming this is C#:
ListItem item = new ListItem(itemText, itemValue);
dropdownlist.Items.Add(item);

How to find the Webtable header values using UFT

How to find the web table header values using UFT. When row value is zero. I need to compare the header_names like so expected table name in dynamic

Can we compare value of a field in 2 different urls using Selenium?

I know we can capture the value of a field for each url individually. But is it also possible to compare the value captured for the same field in 2 different urls using Selenium tool for validation?
I searched over the web but did not get any conclusive results. Please advice.
Yes it is possible to compare the value of field from two different URL's
1). Visit the First URL-> Read the field value and store it in a Variable
2). Visit the Second URL -> Read the field value and store it in a variable
3). Compare the Values

User Prompt Values input from Excel

This problem is related to User Prompt Values in SAP BO 4.1 Client Tool.
Generally we will select user prompt values from the list of values which we can obtain from Universe & the values were fetched from the database. Since List of Values are bulks (few hundred thousand values). Searching from that list one by one and giving it as an input is highly difficult. So If the user wants some 3000 values alone to be selected in that prompt, If they are mentioning that 3000 values in the excel. By using that excel how we can give it as an input selection.
Do you have any other alternative solution for this prompt selection problem?