NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

https://banner.denison.edu/ords/ssb/prod

* dar : https://piperline.hamline.edu/pls/prod/bwckcapp.P_DispCurrent
* grade : https://piperline.hamline.edu/pls/prod/bwskogrd.P_ViewTermGrde
* transcript : https://piperline.hamline.edu/pls/prod/bwskotrn.P_ViewTermTran
* gsr : https://piperline.hamline.edu/pls/prod/bwskgrad.p_view_gradapp
* profile : https://piperline.hamline.edu/pls/prod/bwskgstu.P_StuInfo

Rose_k4
https://my.denison.edu
Kay1ros297!


async navigate_to_academic_profile(page) {
logger.debug('SSB -> navigate_to_academic_profile - started');

page = await this.is_udc_error_page(page, ACADEMIC_ITEM_TYPE.academic_profile);

this.ph = new PuppeteerHelper(page);
let elements = ['*[value="Submit"]', '//*[text()="General Student Record"] | //*[text()="General Student Information"] | //h2[text()="View Student Information"] | //h2[text()="Student Information"] | //div[text()="Check your Advisor and Major"] | //h2[text()="Student Information for Current Term"] | //div[text()="My Student Information"] | //h2[text()="Degree and Advisor Information"] | //*[text()="Program of Study Summary"] | //h2[contains(text(),"General Student Record")] | //caption[contains(text(),"Student Information")]', 'optgroup', 'optgroup:nth-child(1) > option:nth-child(1)'];
let profile_url = this.profile_url || this.base_url + '/bwskgstu.P_StuInfo';
let errRegexList = ['No Student Information Available', 'This page is not enabled', 'UDC Id not available', 'Invalid UDC ID mapping', 'Internal Server Error', 'Web server cannot find the file', '404 Not Found', 'No term available'];

// Go to Academic Profile Page
await this.custom_goto(profile_url, page, ['load'], 15000, ACADEMIC_ITEM_TYPE.academic_profile);

let has_profile_page = false;

try { //Added as sometimes Execution context is destroying
await this.ph.waitForXPath(elements[1], page);
} catch (e) {
logger.info('Direct profile page is not available');
}
let srEH = await this.ph.getElementHandler(elements[1], page);
if (typeof srEH == 'object' && srEH.length > 0) {
has_profile_page = true;
}

let is_forbidden = await this.ph.searchError(['Forbidden', 'denied', 'infOSU Error Page'], page);

if (!has_profile_page && is_forbidden) {
await this.navigate_to_ssb_main_menu("a[href*='bwskgstu.P_StuInfo']", page, ACADEMIC_ITEM_TYPE.academic_profile);
}

if (await this.ph.searchError(errRegexList, page)) {
logger.warn(await this.ph.getErrorText(page));
throw Controller.getError('general', 'notAvailable', ACADEMIC_ITEM_TYPE.academic_profile);
}

if (has_profile_page) {
return page;
}

try {
await this.ph.waitForSelector(elements[0], page, {
visible: true,
timeout: 20000
});
} catch (err) {
// added for debugging purpose
logger.warn(await this.ph.getErrorText(page));
}

let is_optgroup = await this.ph.isElementExist(elements[2], page);

if (is_optgroup) {
await this.ph.performClick(elements[3], page);
}

//change select size to 1
//to automatically select first value
try {
await page.evaluate(() => {
let select_size = document.querySelector('#term_id').getAttribute('size');
if (select_size && select_size != 1) {
document.querySelector('#term_id').setAttribute('size', 1);
}
});
} catch (e) {
logger.warn(e);
}

try {
await this.ph.performClickAndNavigation(elements[0], page);
} catch (e) {
logger.warn(e);
logger.info('Select term option is not present');
}


if (await this.ph.searchError(errRegexList, page)) {
logger.warn(await this.ph.getErrorText(page));
throw Controller.getError('general', 'notAvailable', ACADEMIC_ITEM_TYPE.academic_profile);
}

try {
await this.ph.waitForXPath(elements[1], page, {
visible: true,
timeout: 20000
});
} catch (e) {
logger.warn(e);
await this.ph.waitForXPath(elements[1], page, {
visible: false,
timeout: 20000
});
}

return page;
}
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.