1234567891011121314151617181920212223242526272829 |
- function fundData() {
- //let textbox = Aliases.browser.page1011261948080.textnode.shadowroot.textnode7.shadowroot.textbox.Click();
- //let fundname = Aliases.browser.page1011261948080.textnode.shadowroot.textnode7.shadowroot.textbox.Keys("^a^c");
- let fund = Aliases.browser.page1011261948080.textnode.shadowroot.textnode7.shadowroot.textbox.Text;
- let url = "C:\\Users\\vendor_qafusi4\\Documents\\S-INVEST GUI\\S-Invest GUI\\Data Source\\Data Input\\02. Fund Data Management\\patch_012_fund_registration.txt";
-
- let template =
- 'fundData\n'+
- ''+fund+''
- ;
-
- if (aqFile.Create(url) == 0)
- {
- aqFile.WriteToTextFile(url, template, aqFile.ctUTF8);
- Log.Message("File dibuat dan teks yang ditentukan berhasil ditulis.");
- }
- else
- {
- aqFile.Delete(url);
- if (aqFile.Create(url) == 0)
- {
- aqFile.WriteToTextFile(url, template, aqFile.ctUTF8);
- Log.Message("File dibuat dan teks yang ditentukan berhasil ditulis.");
- }
- }
- }
|