From cc3cb61548953e2491cacb11bacc529e4594a22b Mon Sep 17 00:00:00 2001 From: Hamed Khosrawi Date: Fri, 8 Sep 2023 21:05:06 +0330 Subject: [PATCH] persian language added. --- .../DocumentationDatabaseService.java | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/source/src/main/java/org/cerberus/core/database/DocumentationDatabaseService.java b/source/src/main/java/org/cerberus/core/database/DocumentationDatabaseService.java index c445118a3..8867441aa 100644 --- a/source/src/main/java/org/cerberus/core/database/DocumentationDatabaseService.java +++ b/source/src/main/java/org/cerberus/core/database/DocumentationDatabaseService.java @@ -1183,24 +1183,43 @@ public ArrayList getSqlDocumentation() { b.append(",('testcasestepaction','Action','click','en','Clicking on a button.','click will allow you to click on an element inside the current page.

Usage :
FieldUsage
Value1Identifier and name of the element to click in the form of : identifier=html_reference.
Value2


Examples :
Value1Value2Result
id=html_referenceelement that has id equal to html_reference will be clicked
',NULL)"); b.append(",('testcasestepaction','Action','click','fa','کلیک کردن برروی دکمه','کلیک به شما این امکان را می دهد که روی یک عنصر در صفحه فعلی کلیک کنید

کاربرد :
فیلدکاربرد
مقدار۱شناسه و نام عنصری که باید کلیک کنید به شکل : identifier=html_reference.
مقدار۲


نمونه ها :
مقدار۱مقدار۲نتیجه
id=html_referenceعنصری که برابر با html-reference است کلیک می شود
',NULL)"); b.append(",('testcasestepaction','Action','doNothing','en','Just perform no action.','doNothing will just perfom no action. Can be used in case of control that must be done without action before.

Usage :
FieldUsage
Value1
Value2


Examples :
Value1Value2Result
No action will be executed and engine will go to the next action or control
',NULL)"); + b.append(",('testcasestepaction','Action','doNothing','fa','فقط هیچ اقدامی انجام نده','doNothing فقط هیچ عملی انجام نخواهد داد. در مورد کنترلی که قبل از آن باید بدون اقدام انجام شود قابل استفاده است.

کاربرد :
فیلدکاربرد
مقدار۱
Value2


نمونه ها :
مقدار۱Value2Result
هیچ اقدامی اجرا نمی شود و موتور به اکشن یا کنترل بعدی می رود
',NULL)"); b.append(",('testcasestepaction','Action','doubleClick','en','Double clicking on a button.','doubleClick will allow you to double click on an element inside the current page.

Usage :
FieldUsage
Value1Identifier and name of the element to double click in the form of : identifier=html_reference.
Value2


Examples :
Value1Value2Result
id=html_referenceelement that has id equal to html_reference will be double clicked.
',NULL)"); + b.append(",('testcasestepaction','Action','doubleClick','fa','دوبار کلیک کردن روی یک دکمه','doubleClick به شما این امکان را می دهد که روی یک عنصر در داخل صفحه فعلی دوبار کلیک کنید.

کاربرد :
فیلدکاربرد
مقدار۱شناسه و نام عنصری که باید در قالب دوبار کلیک کنید : identifier=html_reference.
مقدار۲


نمونه ها :
مقدار۱مقدار۲نتیجه
id=html_referenceعنصری که برابر با مرجع html است دوبار کلیک می شود.
',NULL)"); b.append(",('testcasestepaction','Action','executeSqlStoredProcedure','en','Execute SQL Stored Procedure','executeSqlStoredProcedure will allow you to execute SQL stored procedure.
Parameter cerberus_actionexecutesqlstoredprocedure_timeout can be used in order to tune the timeout.

Usage :
FieldUsage
Value1Name of the Database to connect to.
Value2Property name of the procedure to execute. The property should be a text one.


Examples :
Value1Value2Result
CRBPROPERTY_NAMEThe procedure name declared in the property PROPERTY_NAME will be executed on database CRB through connection pool that has been configured in JDBC Ressource of the corresponding CRB database on the corresponding environment.
',NULL)"); + b.append(",('testcasestepaction','Action','executeSqlStoredProcedure','fa','SQL Stored Procedure را اجرا کنید','executeSqlStoredProcedure به شما این امکان را می دهد که رویه ذخیره شده SQL را اجرا کنید.
پارامتر cerberus_actionexecutesqlstoredprocedure_timeout می توان از آن برای تنظیم زمان استفاده استفاده کرد.

کاربرد :
فیلدکاربرد
مقدار۱نام پایگاه داده برای اتصال.
مقدار۲نام ویژگی رویه ای که باید اجرا شود. ویژگی باید متنی باشد.


نمونه ها :
مقدار۱مقدار۲نتیجه
CRBPROPERTY_NAMEنام رویه اعلام شده در ویژگی PROPERTY_NAME در پایگاه داده CRB از طریق مخزن اتصال که در منبع JDBC پایگاه داده CRB مربوطه در محیط مربوطه پیکربندی شده است، اجرا می شود.
',NULL)"); b.append(",('testcasestepaction','Action','executeSqlUpdate','en','Execute SQL update','executeSqlUpdate will allow you to execute SQL update (insert,delete,update).
Parameter cerberus_actionexecutesqlupdate_timeout can be used in order to tune the timeout.

Usage :
FieldUsage
Value1Name of the Database to connect to.
Value2Property name of the script to execute. The property should be a text one.


Examples :
Value1Value2Result
CRBPROPERTY_NAMEThe SQL declared in the property PROPERTY_NAME will be executed on database CRB through connection pool that has been configured in JDBC Ressource of the corresponding CRB database on the corresponding environment.
',NULL)"); + b.append(",('testcasestepaction','Action','executeSqlUpdate','fa','اجرای بروزرسانی SQL','executeSqlUpdate به شما امکان می دهد به روز رسانی SQL را اجرا کنید (insert,delete,update).
می توان از پارامتر cerberus_actionexecutesqlupdate_timeout برای تنظیم مهلت استفاده کرد.

کاربرد :
فیلدکاربرد
مقدار۱نام پایگاه داده برای اتصال.
مقدار۲نام ویژگی اسکریپت برای اجرا. دارایی باید متنی باشد.


نمونه ها :
Value1مقدار۲نتیجه
CRBPROPERTY_NAMESQL اعلام شده در ویژگی PROPERTY_NAME در پایگاه داده CRB از طریق مخزن اتصال که در منبع JDBC پایگاه داده CRB مربوطه در محیط مربوطه پیکربندی شده است، اجرا می شود.
',NULL)"); b.append(",('testcasestepaction','Action','focusDefaultIframe','en','Focus on the default frame.','TBD',NULL)"); + b.append(",('testcasestepaction','Action','focusDefaultIframe','fa','روی قاب پیش فرض تمرکز کنید.','TBD',NULL)"); b.append(",('testcasestepaction','Action','focusToIframe','en','Focus to a specific frame.','TBD',NULL)"); + b.append(",('testcasestepaction','Action','focusToIframe','fa','روی یک فریم خاص تمرکز کنید.','TBD',NULL)"); b.append(",('testcasestepaction','Action','getPageSource','en','[DEPRECATED] getPageSource','getPageSource will allow you to record the source of the page opened.
Action is DEPRECATED. Please use the getPageSource control in stead.

The result will be stored in a file which will be available in the execution detail

Usage :
FieldUsage
Value1
Value2


Examples :
Value1Value2Result
Source will be recorded
',NULL)"); + b.append(",('testcasestepaction','Action','getPageSource','fa','[منسوخ شده است] getPageSource','getPageSource به شما امکان می دهد منبع صفحه باز شده را ضبط کنید.
این اقدام منسوخ شده است. لطفا از کنترل getPageSource بجای آن استفاده کنید.

نتیجه در فایلی ذخیره می شود که در جزئیات اجرا در دسترس خواهد بود

کاربرد :
فیلدکاربرد
مقدار۱
مقدار۲


نمونه ها :
مقدار۱مقدار۲نتیجه
منبع ثبت خواهد شد
',NULL)"); b.append(",('testcasestepaction','Action','hideKeyboard','en','Hide keyboard.','Hide the currently visible keyboard.',NULL)"); + b.append(",('testcasestepaction','Action','hideKeyboard','fa','پنهان کردن صفحه کلید','صفحه کلید قابل مشاهده فعلی را پنهان کنید.',NULL)"); b.append(",('testcasestepaction','Action','keypress','en','Press a specific key.','keypress will allow you to press any key in the current web page.

Usage :
FieldUsage
Value1Keycode of the key to press.
Value2


Examples :
Value1Value2Result
ENTERENTER key will be pressed.
SEARCHSEARCH key will be pressed.
',NULL)"); + b.append(",('testcasestepaction','Action','keypress','fa','کلید خاصی را فشار دهید.','keypress به شما امکان می دهد هر کلیدی را در صفحه وب فعلی فشار دهید.

کاربرد :
فیلدکاربرد
مقدار۱کد کلید کلیدی که باید فشار دهید.
مقدار۲


نمونه ها :
مقدار۱مقدار۲نتیجه
ENTERکلید ENTER فشار داده خواهد شد.
SEARCHکلید SEARCH فشار داده خواهد شد
',NULL)"); b.append(",('testcasestepaction','Action','longPress','en','LongPress on an element.','click will allow you to keep an element of current screen pressed a couple of seconds.

Usage :
FieldUsage
Value1Identifier and name of the element to press in the form of : identifier=html_reference.
Value2Optional : The number of milliseconds


Examples :
Value1Value2Result
id=html_reference2000element that has id equal to html_reference will be pressed during 2 seconds
',NULL)"); + b.append(",('testcasestepaction','Action','longPress','fa','فشار طولانی بر روی یک عنصر.','click به شما این امکان را می دهد که یک عنصر از صفحه فعلی را چند ثانیه فشار دهید.

کاربرد :
فیلدکاربرد
مقدار۱شناسه و نام عنصری که باید فشار دهید : identifier=html_reference.
مقدار۲اختیاری : تعداد میلی ثانیه


نمونه ها :
مقدار۱مقدار۲نتیجه
id=html_reference2000عنصری که دارای شناسه برابر با html_reference است در مدت 2 ثانیه فشار داده می شود
',NULL)"); b.append(",('testcasestepaction','Action','manageDialog','en','Manage javascript dialog opened by application, specified ok to accept it or cancel to dismiss','manageDialog

Let possibility to testcase to handle javascript dialog
Specify ok value to accept it or cancel to dismiss.',NULL)"); + b.append(",('testcasestepaction','Action','manageDialog','fa','گفتگوی جاوا اسکریپت را که توسط برنامه باز شده است را مدیریت کنید، برای پذیرفتن آن تأیید یا لغو برای رد کردن مشخص شده است','manageDialog

اجازه دهید امکان مورد آزمون برای مدیریت گفتگوی جاوا اسکریپت
ok را برای قبول کردن درج کنید و it or cancel را برای ردکردن .',NULL)"); b.append(",('testcasestepaction','Action','manageDialogKeypress','en','Perform a Keypress inside a dialog popup window.','manageDialogKeypress

Perform a Keypress inside a dialog popup window.',NULL)"); + b.append(",('testcasestepaction','Action','manageDialogKeypress','fa','یک فشار کلید در یک پنجره بازشو انجام دهید.','manageDialogKeypress

یک فشار کلید در یک پنجره بازشو انجام دهید.',NULL)"); b.append(",('testcasestepaction','Action','mouseLeftButtonPress','en','Click mouse button and hold it clicked. ','TBD',NULL)"); + b.append(",('testcasestepaction','Action','mouseLeftButtonPress','fa','روی دکمه ماوس کلیک کنید و روی آن کلیک کنید. ','TBD',NULL)"); b.append(",('testcasestepaction','Action','mouseLeftButtonRelease','en','Release clicked mouse button. ','TBD',NULL)"); + b.append(",('testcasestepaction','Action','mouseLeftButtonRelease','fa','دکمه کلیک شده ماوس را رها کنید. ','TBD',NULL)"); b.append(",('testcasestepaction','Action','mouseOver','en','Mouse cursor over an object.','TBD',NULL)"); + b.append(",('testcasestepaction','Action','mouseOver','fa','نشانگر ماوس روی یک شی.','TBD',NULL)"); b.append(",('testcasestepaction','Action','mouseOverAndWait','en','Mouse cursor over an object and wait for a certain time.','TBD',NULL)"); + b.append(",('testcasestepaction','Action','mouseOverAndWait','fa','مکان نما را روی یک شی قرار دهید و برای مدت زمان مشخصی منتظر بمانید.','TBD',NULL)"); b.append(",('testcasestepaction','Action','openUrl','en','Open a URL','openUrl will allow you to open a specific URL.

Usage :
FieldUsage
Value1Absolute URL to open.
Value2


Examples :
Value1Value2Result
http://www.cerberus-testing.org/contextroot/login/login.aspxwww.cerberus-testing.org/contextroot/login/login.aspx URL will be open.
',NULL)"); + b.append(",('testcasestepaction','Action','openUrl','fa','یک آدرس URL را باز کنید','openUrl به شما امکان می دهد یک URL خاص را باز کنید.

کاربرد :
فیلدکاربرد
مقدار۱URLبرای باز کردن.
مقدار۲


نمونه ها :
مقدار۱مقدار۲نتیجه
http://www.cerberus-testing.org/contextroot/login/login.aspxwww.cerberus-testing.org/contextroot/login/login.aspx باز خواهد شد
',NULL)"); b.append(",('testcasestepaction','Action','openUrlLogin','en','Open the Login URL.','TBD',NULL)"); + b.append(",('testcasestepaction','Action','openUrlLogin','fa','URL ورود به سیستم را باز کنید.','TBD',NULL)"); b.append(",('testcasestepaction','Action','openUrlWithBase','en','Open a URL.','openUrlWithBase will allow you to open a specific URL.

Usage :
FieldUsage
Value1Relative URL to open. hostname and context root will automatically be prefixed.
Value2


Examples :
Value1Value2Result
login/login.aspxwww.cerberus-testing.org/contextroot/login/login.aspx URL will be open.
',NULL)"); + b.append(",('testcasestepaction','Action','openUrlWithBase','fa','یک آدرس URL را باز کنید','openUrlWithBase به شما امکان می دهد یک URL خاص را باز کنید.

کاربرد :
FieldUsage
Value1Relative URL to open. hostname and context root will automatically be prefixed.
Value2


Examples :
Value1Value2Result
login/login.aspxwww.cerberus-testing.org/contextroot/login/login.aspx URL will be open.
',NULL)"); b.append(",('testcasestepaction','Action','removeDifference','en','Remove Differences.','TBD',NULL)"); b.append(",('testcasestepaction','Action','rightClick','en','Right click on an element.','rightClick will allow you to right click on an element inside the current page.

Usage :
\n\n \n \n \n \n \n \n \n \n \n \n \n
FieldUsage
Value1Identifier and name of the element to right click in the form of : identifier=html_reference.
Value2\n
\n


Examples :
\n\n \n \n \n \n \n \n \n \n \n
Value1Value2Result
id=html_referenceelement that has id equal to html_reference will be right clicked
\n
',NULL)"); b.append(",('testcasestepaction','Action','select','en','Select a value on a combo.','select : When the action expected is to select a value from a select box.

How to feed it :

Action = select, Value = the id of the select box. and Property = the property containing the value to select.
It could be label=TheExactNameOfTheValue or value=the first letter or the place number of the value expected in the select box
For example : label=WEB , value=W , value=3 if the WEB is the third value in the selectbox


',NULL)");