Using custom tag in activity file of Paf scripts - ipaf

While adding custom tag in activity file,i am getting error that custom tag not found in activity how to resolve this while scripting in pace automation framework?

To solve this issue, you have to add the custom.jar file in dependencies.
For this click on the dropdown next to the Run button on the IDE
and select “Run Configurations…”
Select any of the java application from left pane
select the tab arguments ->Dependencies--->select class path entries-->click on add external jars button
select the custom jar file from the lib folder and add to dependencies. click on 'Run' button

Related

Open folder as project in PhpStorm

When I install PhpStorm from JetBrains Toolbox app I do not have an option to open folders as project when right clicking
Sadly JetBrains Toolbox App does not provide such functionality. Only standalone installer has an option to make them right now. You will have to either use that... or create such entries manually.
https://youtrack.jetbrains.com/issue/TBX-2478 -- watch this ticket (star/vote/comment) to get notified with any progress.
To add an entry to the Windows Explorer's right-click menu:
you can use FileTypesMan by NirSoft or a similar tool.
or create such entry manually, e.g. see this comment for a basic .bat file: https://youtrack.jetbrains.com/issue/IDEA-114307#comment=27-2125363 (at very least it lists Registry keys where to create such an entry).
I found this from Jet Brains :
Click Open on the Welcome screen or select File | Open from the main menu.
In the Select Path dialog, select the directory that contains the project to open.
Drag the desired project from your file chooser right to the Open Project dialog without locating it there. The respective file in the dialog will be found automatically.
Specify whether you want to open the project in a new window, close the current project and reuse the existing window, or open the new project in the same window with the current one. Refer to the Opening multiple projects section for details.
and for the command line you could use this :
<PhpStorm> <path_to_the_project folder>
See Open files from the command line for more information.

How to configure the Android App in Xamarin to use linking file?

I'm trying to create a linking file like this documentation describe (https://learn.microsoft.com/pt-br/xamarin/cross-platform/deploy-test/linker), but I don't understand where to put this file and how to set project build action to LinkingDescription like documentation describe.
I would put the file in the same folder as the Android csproj. To set the build action, right click and select the build action, or select the file and set the build action in the properties window.

How do you add a .jar to the class-path in jaspersoft studio?

I need to add commons-lang3 and commons-math3 so that I can generate medians in my report. I have already downloaded these files, but how do I add them to the classpath so that jaspersoft studio can reference it?
I am using Jaspersoft Studio Professional 5.6.1
I tried going to project explorer and right clicking on the project, but there was no classpath option.
This is not a duplicate of use external JAR file in jaspersoft studio because the solution suggested: right click on project folder > properties > java build path > libraries > add External JARs.. does not appear to be an option to me.
thanks!
I was struggling with this problem for a while and this is what worked for me:
Place jar in workspace
Right click on project folder > properties > java build path > libraries > add External JARs.
On "Outline" tab click on Project root
Go to Properties tab and import the class/package you want to use:
I needed to use this class in a parameter, so i created the parameter:
Double click on the parameter to open the Expression Editor. Click Paremeter and choose proper type:
Edit Class field in Parameter properties
Project > Clean ... Project > Build
step 1:
on the right side of top appeare an red icon(Design report)
step 2:
it will be show in left side
step 3:
will be show the Data Adopter, right click on Data Adopter -> select the new data adopter
step 4:
select the Database JDBC Connection and press next
step 5:
write the name of adopter as you want -> select the JDBC driver [mysql(com.mysql.jdbc.Driver)] -> and write the database name in next field after the backslash
step 6:
select the class path as shown below and click on add button and select jar file.
step 7:
check connection through test and if succefull than press finish.
step 8:
enjoy jaspersoft studio professional.

Adding ExternalAccessory.framework

The documentation I'm reading says:
Find the Frameworks folder name in the Groups & File section of
Xcode.
Select Add, Existing Frameworks by pressing the right button of the
mouse.
Select ExternalAccessory.framework under Frameworks and click on
the Add button.
In the Project Navigator, I have right-clicked the Frameworks folder, but I don't see a way of adding an existing framework.
In XCode 4 you can add frameworks by:
Click on the top-level project entry in the project navigator. This should cause the project settings to be shown in the main editor
Select the target that depends on the framework you want. This should show you the settings for the specific target
Expand the section labeled "Link Binary with Libraries" to see the frameworks and libraries being linked in
Press the "+" button to add a framework

Xcode : Adding a project as a build dependency

Im playing around with the soundcloud api, in its instructions it says to
drag SoundCloudAPI.xcodeproj into your project
add it as a build dependency
I can drag the project in pretty easily, but how does one accomplish the next step?
To add it as a dependency do the following:
Highlight the added project in your file explorer within xcode. In the directory browser window to the right it should show a file with a .a extension. There is a checkbox under the target column (target icon), check it.
Right-Click on your Target (under the targets item in the file explorer) and choose Get Info
On the general tab is a Direct Dependencies section. Hit the plus button
Choose the project and click Add Target
Select your project in the navigator on left.
Open up the drawer in the middle pane and select your target.
Select Build Phases
Target Dependencies is an option at that point.
Tough one for a newbie like me - here is a screenshot that describes it.
Xcode 10.2.1
Under TARGETS in your project, right-click on your project target (should be the same name as your project) and choose GET INFO, then on GENERAL tab you will see DIRECT DEPENDENCIES, simply click the [+] and select SoundCloudAPI.
Just close the Project you want to add , then drag and drop the file .
Xcode add a project as a dependency
Xcode 10
drag-n-drop a project into another project - is called cross-project references[About]
add the added project as a build dependency - is called Explicit dependency[About]
//Xcode 10
Build Phases -> Target Dependencies -> + Add items
//Xcode 11
Build Phases -> Dependencies -> + Add items
In Choose items to add: dialog you will see only targets from your project and the sub-project
Today I faced with the same problem.
As the result of the first run I got next error:
Lexical or Preprocessor Issue: 'SDKProjectName*/*SDKProjectName.h'
file not found.
But before running, I, obviously, added my SDK into the demo project, just drag&drop .xcodeproj file into my test project's source tree. After that, I moved into Build Phases tab in setting of the main xcodeproj file (of the demo) and added my SDK as target dependency and embed framework into corresponding tabs.
But at the result, I got an error above!
So, the problem was into empty line on the Header Search Paths option. I just wrote "../**" as value for this key and project compiled successfully. So, after that, you can add #include <SDKName/SDKName.h> into any project, which includes this SDK.
ps. My test app was created into root SDK folder.

Resources