How can I see an indicator in the tester when I test an Ea? - mt4

How can I see an indicator in the tester when I test an Ea?
I use two indicators using iCustom function... but I cannot see those indicators while testing the EA...
Is it possible to do?

Just run your ea in visual mode then pause it button is just on adjacent side of visual speed control . Then attach the indicator and it done .

Related

which command should I use when I judge string?

I use Automation anywhere today.
I want to know which command should I use.
(I do not know where is manual about command.)
I want to divide the following work with the characters displayed when a certain button is pressed.
For example,
if I press the button A, either yes or no will be displayed on the screen.
If yes displayed, it ok.
but If no, I want to press a different button.
but I don't know which command to judge display.
If you know that, please help me.
Automation anywhere can be used to automate a UI.
If you have a UI which has a button and on pressing that button your UI displays A or B, then you can automate the flow with automation anywhere.
First, you need to use object cloning to clone the button and click on it.
Second, use object cloning again to get value/name property of result and store it into a variable.
Finally, you can put an if-else/if-elseif condition on the variable and enclose your code in the condition accordingly.
You can also find some examples on automation anywhere official documentation website

Is there a way/tool/framework to write test automation for individual UI elements on iOS? (whitebox)

I have an application and I want to test individual ui elements in the application from the inside. The purpose is to verify that display controls such as labels are displaying what they should and that touches trigger the correct results.
And I don't mean any E2E tests (I will use Appium for that), I'm looking for something that would allow me to open the app in a state that I need and test one element(if it is displayed correctly and if it behaves correctly - I will probably split these two actions into two separate tests).
For example:
Let's say I have an app that has a "Hello" button in the middle of the screen and upon clicking on that button a new screen opens that has two other buttons. One has label "Red" the other has label "Blue". If I click on "Red" the background of the application turns red and if I click the "Blue" button the background turns blue.
Now I want to write separate tests that would open the app on:
initial screen and check the "Hello" button is there
initial screen and check that clicking on the "Hello" button opens new screen
second screen and check that there is "Red" button
second screen and check that upon clicking on "Red" button the screen turns red
and so on..
I don't know how to call this testing but for me it sounds like "ui unit testing"
I know this is possible on Android using Espresso so I hope it is possible on iOS too.
Have you looked at the new UI Testing tools (XCUITest) in Xcode 7? With it, you would definitely be able to detect the presence of UI elements, and manipulate them (such as tapping on buttons). However, I'm not sure if you'd be able to confirm that the background view's color changed, unless you set the view's UIAccessibility value to include color information.
UI Testing overview: https://developer.apple.com/videos/play/wwdc2015-406/
potential limitations: https://medium.com/#larcus94/ui-testing-with-xcode-7-221d16bad276

Can I have the build dialog in the center of the screen?

Ever since Delphi XE2 (or even before) the build dialog appears in the bottom right corner of the screen.
Because I'm a curious fellow I'd like to see what's going on.
But that's hard when it's way there in a corner.
If I move the dialog to the correct centered position the IDE does not register/remember this and keeps on putting in in the corner every time it compiles.
Is there a way/hack to make this dialog appear in the center of the screen?
You have enabled background compilation: Tools | Options | Environment Options | Background compilation.
The designers presumed that you did that because you did not want the compilation progress to disturb you, and stop you being able to see the editor window. The whole point of background compilation is for you to be able to carry on working in the IDE whilst compilation progresses. If the dialog was shown in the middle of the IDE window then you would not be able to see what you were working on.
If you disable background compilation then the dialog will appear in the centre of the monitor.

Apple style "Waiting" animation for D7 needed

Does anyone know an Apple style "waiting" animation VCL component for using with Delphi 7? Thanks
Don't know about the current Apple look, but a free online service to create Ajax loading gif files is here:
http://www.ajaxload.info/
Create easily your own ajax loader
icon :
Select the type of indicator you want
Enter the background code color you want
(tick "Transparent background" if you don't want one
Enter the foreground code color you want
Press "Generate it"
Is it this thing (circular progress animation)?
http://www.tmssoftware.com/site/acp.asp
TMS has one.

how to make a screen saver preview in Delphi?

I want my screensaver appears in the screensaver preview box?
When you make a screen saver you need to support a command line argument (/p [HWND]) that will tell you in which windows to show your screen saver. The command line will be pass to you thru the screen saver control panel. here is a link to the full spec.
You can start the screen saver, get it's window handle then change it's parent to your forms handle or panel's handle or wherever you want it.

Resources